]> 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 7865752e36edc591c8948905e5ec1837b8d79b7a..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"
 
@@ -39,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
@@ -50,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"