]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/recipes/default.rb
Improve idempotency of apache_module
[chef.git] / cookbooks / mailman / recipes / default.rb
index 05f1997abcbe223bb26a35c23e504c753d499ad7..94de38295c20621a8ca655015fd5ec9d0f43306a 100644 (file)
@@ -17,7 +17,7 @@
 # limitations under the License.
 #
 
-include_recipe "apache"
+include_recipe "apache::ssl"
 
 package "mailman"
 
@@ -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