]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dns/templates/default/dns-check.erb
fd02787206f87d03ae282807f22173c376224534
[chef.git] / cookbooks / dns / templates / default / dns-check.erb
1 #!/bin/sh
2
3 export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
4 export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
5 export STATUSCAKE_USERNAME="OpenStreetMap"
6 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
7 export PATH=/usr/local/bin:$PATH
8
9 make --quiet --jobs --directory=/var/lib/dns update > /dev/null