]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/recipes/default.rb
Fix argument order to each_with_object
[chef.git] / cookbooks / switch2osm / recipes / default.rb
index 97a1d953038fa9a5fcd31ca384bc5a528a796cb1..397a5815dfeb9636f0c10bc71fc3e57095658b89 100644 (file)
 # limitations under the License.
 #
 
+node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["osmfoundation"]
+
 include_recipe "wordpress"
 
 passwords = data_bag_item("switch2osm", "passwords")
 
 wordpress_site "switch2osm.org" do
-  aliases "www.switch2osm.org", "switch2osm.com", "www.switch2osm.com"
+  aliases ["www.switch2osm.org", "switch2osm.com", "www.switch2osm.com"]
   directory "/srv/switch2osm.org"
+  ssl_enabled true
+  ssl_certificate "osmfoundation"
+  ssl_certificate_chain "startcom"
   database_name "switch2osm-blog"
   database_user "switch2osm-user"
   database_password passwords["switch2osm-user"]