wordpress_plugin "sitepress-multilingual-cms" do
site "join.osmfoundation.org"
- repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git"
+ repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git"
end
wordpress_plugin "contact-form-7" do
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
end