]> git.openstreetmap.org Git - chef.git/commitdiff
dns: fix dnscontrol dpkg install
authorGrant Slater <github@firefishy.com>
Thu, 2 Mar 2023 17:44:19 +0000 (17:44 +0000)
committerGrant Slater <github@firefishy.com>
Thu, 2 Mar 2023 17:44:19 +0000 (17:44 +0000)
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