]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/recipes/default.rb
Remove unused export of planet files to UCL hosts
[chef.git] / cookbooks / stateofthemap / recipes / default.rb
index 49349a9fb31174667855022a7cff8c53bd808357..6ba547914bf3328b6a2bd93552223c659f2fe4c3 100644 (file)
@@ -48,7 +48,7 @@ end
 
 wordpress_plugin "sem-static-front" do
   site "2007.stateofthemap.org"
 
 wordpress_plugin "sem-static-front" do
   site "2007.stateofthemap.org"
-  source "plugins/sem-static-front"
+  repository "git://chef.openstreetmap.org/sem-static-front.git"
 end
 
 directory "/srv/2008.stateofthemap.org" do
 end
 
 directory "/srv/2008.stateofthemap.org" do
@@ -142,7 +142,7 @@ end
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2010.stateofthemap.org"
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2010.stateofthemap.org"
-  source "plugins/sitepress-multilingual-cms"
+  repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git"
 end
 
 wordpress_plugin "wp-sticky" do
 end
 
 wordpress_plugin "wp-sticky" do
@@ -180,7 +180,7 @@ end
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2011.stateofthemap.org"
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2011.stateofthemap.org"
-  source "plugins/sitepress-multilingual-cms"
+  repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git"
 end
 
 wordpress_plugin "wp-sticky" do
 end
 
 wordpress_plugin "wp-sticky" do
@@ -222,9 +222,17 @@ end
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2012.stateofthemap.org"
 
 wordpress_plugin "sitepress-multilingual-cms" do
   site "2012.stateofthemap.org"
-  source "plugins/sitepress-multilingual-cms"
+  repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git"
 end
 
 wordpress_plugin "wp-sticky" do
   site "2012.stateofthemap.org"
 end
 end
 
 wordpress_plugin "wp-sticky" do
   site "2012.stateofthemap.org"
 end
+
+template "/etc/cron.daily/sotm-backup" do
+  source "backup.cron.erb"
+  owner "root"
+  group "root"
+  mode 0750
+  variables :passwords => passwords
+end