Set statuscake authentication details for DNS scripts
authorTom Hughes <tom@compton.nu>
Wed, 10 May 2017 14:40:40 +0000 (15:40 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 10 May 2017 14:40:40 +0000 (15:40 +0100)
cookbooks/dns/templates/default/dns-check.erb
cookbooks/dns/templates/default/dns-update.erb

index 24fc320e2fc1ce368d25ddb5fe2b6f29e78c6626..eabf1229bd9e40e3c086c586f87d468e39fbeffa 100755 (executable)
@@ -3,5 +3,7 @@
 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"] %>
 
 make --quiet --directory=/var/lib/dns --assume-new=lib/countries.xml update > /dev/null
index 596a4dd7da5763a329fc01c27c5af9edcf2c3925..162e7875ef78aa5714b994ac1980525a0a9514dc 100755 (executable)
@@ -7,6 +7,8 @@ umask 0002
 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"] %>
 
 cd /var/lib/dns