]> git.openstreetmap.org Git - chef.git/commitdiff
dns: add missing cachedir var
authorGrant Slater <git@firefishy.com>
Thu, 18 Aug 2022 10:16:47 +0000 (12:16 +0200)
committerGrant Slater <git@firefishy.com>
Thu, 18 Aug 2022 10:16:47 +0000 (12:16 +0200)
cookbooks/dns/recipes/default.rb

index 80ddc9a8985e331ed62c1ee1a2c171cb9577455d..877103b2e4cf46756be2dc0da71ab8442d48041e 100644 (file)
@@ -39,6 +39,8 @@ package %w[
   lockfile-progs
 ]
 
   lockfile-progs
 ]
 
+cache_dir = Chef::Config[:file_cache_path]
+
 dnscontrol_version = "3.19.0"
 
 remote_file "#{cache_dir}/dnscontrol_amd64.deb" do
 dnscontrol_version = "3.19.0"
 
 remote_file "#{cache_dir}/dnscontrol_amd64.deb" do