X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc..dd7f629ab3f1404a2a3ea5a9c4e28c416ecb6e3b:/cookbooks/letsencrypt/recipes/default.rb?ds=inline diff --git a/cookbooks/letsencrypt/recipes/default.rb b/cookbooks/letsencrypt/recipes/default.rb index fad5eb27c..c41732cf6 100644 --- a/cookbooks/letsencrypt/recipes/default.rb +++ b/cookbooks/letsencrypt/recipes/default.rb @@ -112,7 +112,7 @@ remote_directory "/srv/acme.openstreetmap.org/bin" do mode "755" files_owner "root" files_group "root" - files_mode 0o755 + files_mode "755" end directory "/srv/acme.openstreetmap.org/requests" do @@ -190,3 +190,10 @@ cron_d "letencrypt-check" do command "/srv/acme.openstreetmap.org/bin/check-certificates" mailto "admins@openstreetmap.org" end + +template "/etc/logrotate.d/letsencrypt" do + source "logrotate.erb" + owner "root" + group "root" + mode "644" +end