]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dns/templates/default/dns-check.erb
621cbd6f93905b4b6cd1cf4d4d356db253928cd9
[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 PINGDOM_USERNAME="pingdom@openstreetmap.org"
6 export PINGDOM_PASSWORD="<%= @passwords["pingdom"] %>"
7 export STATUSCAKE_USERNAME="OpenStreetMap"
8 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
9
10 make --quiet --jobs --directory=/var/lib/dns --assume-new=bin/mkgeo update > /dev/null