X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ad81220e82b6e2abc9e32dc5653aebe66db1d48c..531f7f92d79813c6e0b5e00d1d8c446197e12f27:/cookbooks/civicrm/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/civicrm/recipes/default.rb b/cookbooks/civicrm/recipes/default.rb index 992d928be..382cb53b4 100644 --- a/cookbooks/civicrm/recipes/default.rb +++ b/cookbooks/civicrm/recipes/default.rb @@ -17,6 +17,8 @@ # limitations under the License. # +node.default[:ssl][:certificates] = node[:ssl][:certificates] | [ "crm.osmfoundation" ] + include_recipe "wordpress" include_recipe "mysql" @@ -37,12 +39,18 @@ mysql_database "civicrm" do end wordpress_site "crm.osmfoundation.org" do - ssl_enabled false + ssl_enabled true + ssl_certificate "crm.osmfoundation" database_name "civicrm" database_user "civicrm" database_password database_password end +wordpress_theme "osmblog-wp-theme" do + site "crm.osmfoundation.org" + repository "git://github.com/harry-wood/osmblog-wp-theme.git" +end + civicrm_version = node[:civicrm][:version] civicrm_directory = "/srv/crm.osmfoundation.org/wp-content/plugins/civicrm"