]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
Allow AWS DNS queries through the firewall
[chef.git] / cookbooks / dns / recipes / default.rb
index 28f268f90bf2c265db6abef6dfd10de643f76025..1392191d7922898cce036696c619af8fd5dadae9 100644 (file)
@@ -59,9 +59,8 @@ remote_file "#{cache_dir}/dnscontrol-#{dnscontrol_version}.deb" do
 end
 
 dpkg_package "dnscontrol" do
-  action :nothing
   source "#{cache_dir}/dnscontrol-#{dnscontrol_version}.deb"
-  subscribes :install, "remote_file[#{cache_dir}/dnscontrol-#{dnscontrol_version}.deb]"
+  version "#{dnscontrol_version}"
 end
 
 directory "/srv/dns.openstreetmap.org" do