]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/recipes/default.rb
Add osmfoundation.org certificate
[chef.git] / cookbooks / civicrm / recipes / default.rb
index d366b8c8c4820859e6ec3678f8744070410b3c4d..33005cb03a113f071c73e840ef58da443f5fa8ff 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
 # limitations under the License.
 #
 
+node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["osmfoundation"]
+
 include_recipe "wordpress"
 include_recipe "mysql"
 
 include_recipe "wordpress"
 include_recipe "mysql"
 
@@ -25,7 +27,6 @@ package "wkhtmltopdf"
 passwords = data_bag_item("civicrm", "passwords")
 
 database_password = passwords["database"]
 passwords = data_bag_item("civicrm", "passwords")
 
 database_password = passwords["database"]
-admin_password = passwords["admin"]
 site_key = passwords["key"]
 
 mysql_user "civicrm@localhost" do
 site_key = passwords["key"]
 
 mysql_user "civicrm@localhost" do
@@ -37,7 +38,9 @@ mysql_database "civicrm" do
 end
 
 wordpress_site "crm.osmfoundation.org" do
 end
 
 wordpress_site "crm.osmfoundation.org" do
-  ssl_enabled false
+  ssl_enabled true
+  ssl_certificate "osmfoundation"
+  ssl_certificate_chain "startcom"
   database_name "civicrm"
   database_user "civicrm"
   database_password database_password
   database_name "civicrm"
   database_user "civicrm"
   database_password database_password