X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/243ec909a52ccbdb5bfdd5becdfb80ab6a76419e..a661370166bbac0bbe8c8b1f0ba947e3a269edee:/cookbooks/backup/recipes/default.rb diff --git a/cookbooks/backup/recipes/default.rb b/cookbooks/backup/recipes/default.rb index a9b70f168..27d12eb9b 100644 --- a/cookbooks/backup/recipes/default.rb +++ b/cookbooks/backup/recipes/default.rb @@ -17,21 +17,24 @@ # limitations under the License. # +package "perl" +package "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