X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/403b177a953175b40f6ea6a4902dba4ec9ce51eb..10cda4bc0c782b8057c881056126e705d6265578:/cookbooks/dns/templates/default/dns-check.erb diff --git a/cookbooks/dns/templates/default/dns-check.erb b/cookbooks/dns/templates/default/dns-check.erb index eabf1229b..ca38dddc8 100755 --- a/cookbooks/dns/templates/default/dns-check.erb +++ b/cookbooks/dns/templates/default/dns-check.erb @@ -1,9 +1,10 @@ #!/bin/sh -export RSYNC_PASSWORD=<%= @passwords["rsync"] %> -export PINGDOM_USERNAME=pingdom@openstreetmap.org -export PINGDOM_PASSWORD=<%= @passwords["pingdom"] %> -export STATUSCAKE_USERNAME=OpenStreetMap -export STATUSCAKE_APIKEY=<%= @passwords["statuscake"] %> +export RSYNC_PASSWORD="<%= @passwords["rsync"] %>" +export GEODNS_SERVERS="<%= @geoservers.join(" ") %>" +export PINGDOM_USERNAME="pingdom@openstreetmap.org" +export PINGDOM_PASSWORD="<%= @passwords["pingdom"] %>" +export STATUSCAKE_USERNAME="OpenStreetMap" +export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>" -make --quiet --directory=/var/lib/dns --assume-new=lib/countries.xml update > /dev/null +make --quiet --jobs --directory=/var/lib/dns --assume-new=lib/countries.xml update > /dev/null