X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/243ec909a52ccbdb5bfdd5becdfb80ab6a76419e..6b56213c185d41db606cc02af2b3970a2f9987bb:/cookbooks/backup/recipes/default.rb diff --git a/cookbooks/backup/recipes/default.rb b/cookbooks/backup/recipes/default.rb index a9b70f168..268eaeec8 100644 --- a/cookbooks/backup/recipes/default.rb +++ b/cookbooks/backup/recipes/default.rb @@ -17,21 +17,26 @@ # limitations under the License. # +package %w[ + perl + libdate-calc-perl +] + directory "/store/backup" do owner "osmbackup" group "osmbackup" - mode 02755 + mode 0o2755 end cookbook_file "/usr/local/bin/expire-backups" do owner "root" group "root" - mode 0755 + mode 0o755 end template "/etc/cron.daily/expire-backups" do source "expire.cron.erb" owner "root" group "root" - mode 0644 + mode 0o755 end