Move blog backup script to the right cookbook
[chef.git] / cookbooks / blog / recipes / default.rb
index 3a363bc02c99a584c127750af5d9311a942061f2..95997cd2893ee030f1b9e203bcc999d2c0de96d0 100644 (file)
@@ -86,3 +86,11 @@ apache_site "opengeodata.org" do
   template "opengeodata.erb"
   directory "/srv/opengeodata.org"
 end
+
+template "/etc/cron.daily/blog-backup" do
+  source "backup.cron.erb"
+  owner "root"
+  group "root"
+  mode 0750
+  variables :passwords => passwords
+end