]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure dnscontrol is on the path in DNS update scripts
authorTom Hughes <tom@compton.nu>
Fri, 27 Mar 2020 09:42:34 +0000 (09:42 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 27 Mar 2020 09:42:34 +0000 (09:42 +0000)
cookbooks/dns/templates/default/dns-check.erb
cookbooks/dns/templates/default/dns-update.erb

index 60052a6eedbc46fdf1a9df6e939d9cce01293bd5..fd02787206f87d03ae282807f22173c376224534 100755 (executable)
@@ -4,5 +4,6 @@ export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
 export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
 export STATUSCAKE_USERNAME="OpenStreetMap"
 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
+export PATH=/usr/local/bin:$PATH
 
 make --quiet --jobs --directory=/var/lib/dns update > /dev/null
index 73b0c959f8c4ea0192da2c903b57669430d347fb..8022e45664a2e52f075dabe397a0796f78990b45 100755 (executable)
@@ -8,6 +8,7 @@ export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
 export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
 export STATUSCAKE_USERNAME="OpenStreetMap"
 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
+export PATH=/usr/local/bin:$PATH
 
 cd /var/lib/dns