projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b137343
)
Configure CIVICRM_CMSDIR
author
Tom Hughes
<tom@compton.nu>
Tue, 20 Mar 2018 00:57:34 +0000
(
00:57
+0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 20 Mar 2018 00:57:34 +0000
(
00:57
+0000)
cookbooks/civicrm/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/civicrm/recipes/default.rb
b/cookbooks/civicrm/recipes/default.rb
index 66ba6bde25769d7ed89ddb6efa6b8035e0d7c7fc..1cfc733da7229a8dd84d7dc5de464d8f13a10a38 100644
(file)
--- a/
cookbooks/civicrm/recipes/default.rb
+++ b/
cookbooks/civicrm/recipes/default.rb
@@
-153,6
+153,7
@@
settings = edit_file "#{civicrm_directory}/civicrm/templates/CRM/common/civicrm.
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