]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/templates/default/taginfo-update.erb
Switch taginfo to use planet::current
[chef.git] / cookbooks / taginfo / templates / default / taginfo-update.erb
diff --git a/cookbooks/taginfo/templates/default/taginfo-update.erb b/cookbooks/taginfo/templates/default/taginfo-update.erb
new file mode 100644 (file)
index 0000000..0dd05b8
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# DO NOT EDIT - This file is being maintained by Chef
+
+<% @sites.each do |site| -%>
+<% if site[:directory] -%>
+<%= site[:directory] %>/bin/update
+<% else -%>
+/srv/<%= site[:name] %>/bin/update
+<% end -%>
+<% end -%>