]> git.openstreetmap.org Git - chef.git/commitdiff
dns: switch to dpkg_package for deb install
authorGrant Slater <git@firefishy.com>
Thu, 18 Aug 2022 10:19:52 +0000 (12:19 +0200)
committerGrant Slater <git@firefishy.com>
Thu, 18 Aug 2022 10:19:52 +0000 (12:19 +0200)
cookbooks/dns/recipes/default.rb

index 877103b2e4cf46756be2dc0da71ab8442d48041e..04d2fe34320d022feb55c3830eebc45f03678772 100644 (file)
@@ -51,7 +51,7 @@ remote_file "#{cache_dir}/dnscontrol_amd64.deb" do
   backup false
 end
 
-package "dnscontrol" do
+dpkg_package "dnscontrol" do
   action :nothing
   source "#{cache_dir}/dnscontrol_amd64.deb"
   subscribes :install, "remote_file[#{cache_dir}/dnscontrol_amd64.deb]"