]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dns/templates/default/dns-update.erb
Update jQuery and switch to a better CDN for it
[chef.git] / cookbooks / dns / templates / default / dns-update.erb
1 #!/bin/sh
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 umask 0002
6
7 export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
8 export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
9 export PINGDOM_USERNAME="pingdom@openstreetmap.org"
10 export PINGDOM_PASSWORD="<%= @passwords["pingdom"] %>"
11 export STATUSCAKE_USERNAME="OpenStreetMap"
12 export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] %>"
13
14 cd /var/lib/dns
15
16 if [ ! -d .git ]
17 then
18   git clone /var/lib/git/public/dns.git /var/lib/dns
19 fi
20
21 git pull -q
22
23 make --jobs update