]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/repository.rb
apt: add support for elasticsearch repo
[chef.git] / cookbooks / chef / recipes / repository.rb
index b4bd2fa069780306002aa75fb84a604fcf2d3fb0..09713b4be1e0d874c38b1861fa05b5189dd26b97 100644 (file)
@@ -61,3 +61,10 @@ template "#{node[:chef][:repository]}/hooks/post-receive" do
   group "chefrepo"
   mode 0750
 end
+
+template "/etc/cron.daily/chef-repository-backup" do
+  source "repository-backup.cron.erb"
+  owner "root"
+  group "root"
+  mode 0755
+end