X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..8bf2492a0108fb1a9356bc9c9e328c96581b417f:/cookbooks/chef/recipes/repository.rb diff --git a/cookbooks/chef/recipes/repository.rb b/cookbooks/chef/recipes/repository.rb index b4bd2fa06..09713b4be 100644 --- a/cookbooks/chef/recipes/repository.rb +++ b/cookbooks/chef/recipes/repository.rb @@ -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