]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ftp/recipes/default.rb
Refactor firewall rules to simplify IPv4/IPv6 handling
[chef.git] / cookbooks / ftp / recipes / default.rb
index 14ab725a0e402495163c2c9bee4c0792fa78b00a..9cd534a0b98d7022f9c43a845ceebcdd4d7121c5 100644 (file)
@@ -45,9 +45,8 @@ end
 
 firewall_rule "accept-ftp-tcp" do
   action :accept
-  source "net"
-  dest "fw"
-  proto "tcp"
+  context :incoming
+  protocol :tcp
   dest_ports "ftp"
   helper "ftp"
 end