include_recipe "wordpress"
include_recipe "mysql"
+package "wkhtmltopdf"
+
passwords = data_bag_item("civicrm", "passwords")
database_password = passwords["database"]
content settings
end
+template "/etc/cron.d/osmf-crm" do
+ source "cron.erb"
+ owner "root"
+ group "root"
+ mode 0600
+ variables :directory => civicrm_directory, :passwords => passwords
+end
+
template "/etc/cron.daily/osmf-crm-backup" do
source "backup.cron.erb"
- owner "wordpress"
- group "wordpress"
+ owner "root"
+ group "root"
mode 0750
variables :passwords => passwords
end