X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..6d0cd3cd047cf2dc6d47d6482865d7aafe2588d2:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 49349a9fb..6ba547914 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -48,7 +48,7 @@ end 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 @@ -142,7 +142,7 @@ end 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 @@ -180,7 +180,7 @@ end 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 @@ -222,9 +222,17 @@ end 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 + +template "/etc/cron.daily/sotm-backup" do + source "backup.cron.erb" + owner "root" + group "root" + mode 0750 + variables :passwords => passwords +end