]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/recipes/default.rb
Install registration-honeypot plugin on the CRM site
[chef.git] / cookbooks / civicrm / recipes / default.rb
index 382cb53b442b78b35a464054871a1e4e0e8da2ad..5fb9c5eeb9cf6669fc9cd6749e59df87b0c52f75 100644 (file)
@@ -17,8 +17,6 @@
 # limitations under the License.
 #
 
-node.default[:ssl][:certificates] = node[:ssl][:certificates] | [ "crm.osmfoundation" ]
-
 include_recipe "wordpress"
 include_recipe "mysql"
 
@@ -27,7 +25,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
@@ -40,7 +37,6 @@ end
 
 wordpress_site "crm.osmfoundation.org" do
   ssl_enabled true
-  ssl_certificate "crm.osmfoundation"
   database_name "civicrm"
   database_user "civicrm"
   database_password database_password
@@ -51,6 +47,10 @@ wordpress_theme "osmblog-wp-theme" do
   repository "git://github.com/harry-wood/osmblog-wp-theme.git"
 end
 
+wordpress_plugin "registration-honeypot" do
+  site "crm.osmfoundation.org"
+end
+
 civicrm_version = node[:civicrm][:version]
 civicrm_directory = "/srv/crm.osmfoundation.org/wp-content/plugins/civicrm"