X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2cc0f2ba3c1fda40b800e6299ba5f35731d21bda..ee06d3543d865a3a1085a33aeef3d7d5af38046c:/cookbooks/git/recipes/server.rb diff --git a/cookbooks/git/recipes/server.rb b/cookbooks/git/recipes/server.rb index f679ce82b..66f4dd1fc 100644 --- a/cookbooks/git/recipes/server.rb +++ b/cookbooks/git/recipes/server.rb @@ -78,3 +78,10 @@ Dir.new(git_directory).select { |name| name =~ /\.git$/ }.each do |repository| end end end + +template "/etc/cron.daily/git-backup" do + source "backup.cron.erb" + owner "root" + group "root" + mode 0755 +end