]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/rsyncd/recipes/default.rb
Refactor firewall rules to simplify IPv4/IPv6 handling
[chef.git] / cookbooks / rsyncd / recipes / default.rb
index bcc0046e467a03521466432778e44490f28ed442..89ee459091705e5e057647b191921fe0beb393ad 100644 (file)
@@ -77,9 +77,8 @@ end
 
 firewall_rule "accept-rsync" do
   action :accept
-  source "net"
-  dest "fw"
-  proto "tcp"
+  context :incoming
+  protocol :tcp
   dest_ports "rsync"
   source_ports "1024-65535"
 end