php-intl
]
+apache_module "rewrite"
+
cache_dir = Chef::Config[:file_cache_path]
passwords = data_bag_item("civicrm", "passwords")
end
wordpress_site "supporting.openstreetmap.org" do
- # Do not add extra aliases as this causes issues with civicrm PHP sessions
- aliases ["supporting.openstreetmap.org"]
+ # Do not add aliases these can causes issues with civicrm PHP sessions
+ # Use redirects instead
database_name "civicrm"
database_user "civicrm"
database_password database_password
execute "/opt/civicrm-#{civicrm_version}/civicrm" do
action :nothing
- command "rsync --archive --delete /opt/civicrm-#{civicrm_version}/civicrm/ #{civicrm_directory}"
+ command "rsync --archive --delete --delete-delay --delay-updates /opt/civicrm-#{civicrm_version}/civicrm/ #{civicrm_directory}"
user "wordpress"
group "wordpress"
subscribes :run, "archive_file[#{cache_dir}/civicrm-#{civicrm_version}-wordpress.zip]", :immediately