]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/bind/recipes/default.rb
Fix munin node configuration
[chef.git] / cookbooks / bind / recipes / default.rb
index 6c596420de79e514c3ac0af10886f6d2b197c01f..10ab7ce0bba31b4f89e205b361e57bf6f3ca5fc3 100644 (file)
@@ -62,16 +62,14 @@ end
 
 firewall_rule "accept-dns-udp" do
   action :accept
-  source "net"
-  dest "fw"
-  proto "udp"
+  context :incoming
+  protocol :udp
   dest_ports "domain"
 end
 
 firewall_rule "accept-dns-tcp" do
   action :accept
-  source "net"
-  dest "fw"
-  proto "tcp"
+  context :incoming
+  protocol :tcp
   dest_ports "domain"
 end