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
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
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
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