X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..918b2340b4a44045125b50525d432a1e2648eeb2:/cookbooks/mailman/recipes/default.rb diff --git a/cookbooks/mailman/recipes/default.rb b/cookbooks/mailman/recipes/default.rb index 05f1997ab..171979208 100644 --- a/cookbooks/mailman/recipes/default.rb +++ b/cookbooks/mailman/recipes/default.rb @@ -17,12 +17,12 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "apache::ssl" package "mailman" service "mailman" do - action [ :enable, :start ] + action [:enable, :start] supports :restart => true, :reload => true end @@ -32,3 +32,10 @@ apache_module "rewrite" apache_site "lists.openstreetmap.org" do template "apache.erb" end + +template "/etc/cron.daily/lists-backup" do + source "backup.cron.erb" + owner "root" + group "root" + mode 0755 +end