include_recipe "mysql"
package %w[
+ php-xml
+ php-curl
rsync
unzip
wkhtmltopdf
+ php-bcmath
]
cache_dir = Chef::Config[:file_cache_path]
action :sync
repository details[:repository]
revision details[:revision]
- depth 1
user "wordpress"
group "wordpress"
end
line.gsub!(/%%templateCompileDir%%/, "/srv/join.osmfoundation.org/wp-content/uploads/civicrm/templates_c/")
line.gsub!(/%%baseURL%%/, "http://join.osmfoundation.org/")
line.gsub!(/%%siteKey%%/, site_key)
- line.gsub!(%r{// *(.*'ext_repo_url'.*)$}, "\\1")
line.gsub!(%r{// *define\('CIVICRM_CMSDIR', '/path/to/install/root/'\);}, "define('CIVICRM_CMSDIR', '/srv/join.osmfoundation.org');")
line