]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/recipes/default.rb
Add travis status to README
[chef.git] / cookbooks / civicrm / recipes / default.rb
index d366b8c8c4820859e6ec3678f8744070410b3c4d..7865752e36edc591c8948905e5ec1837b8d79b7a 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["crm.osmfoundation"]
+
 include_recipe "wordpress"
 include_recipe "mysql"
 
@@ -25,7 +27,6 @@ package "wkhtmltopdf"
 passwords = data_bag_item("civicrm", "passwords")
 
 database_password = passwords["database"]
-admin_password = passwords["admin"]
 site_key = passwords["key"]
 
 mysql_user "civicrm@localhost" do
@@ -37,7 +38,8 @@ 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