X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/afd343692a74c0b9c6fb82aeeb5f5c878ad3758e..0fd17462a463a34c787038f23493b86a52117234:/cookbooks/blog/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/blog/recipes/default.rb b/cookbooks/blog/recipes/default.rb index e5fb6f477..b3bd0430c 100644 --- a/cookbooks/blog/recipes/default.rb +++ b/cookbooks/blog/recipes/default.rb @@ -17,6 +17,8 @@ # limitations under the License. # +node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["osmfoundation"] + include_recipe "wordpress" passwords = data_bag_item("blog", "passwords") @@ -32,6 +34,8 @@ wordpress_site "blog.openstreetmap.org" do "blog.openstreetmap.net", "blog.openstreetmaps.org", "blog.osmfoundation.org"] ssl_enabled true + ssl_certificate "osmfoundation" + ssl_certificate_chain "startcom" directory "/srv/blog.openstreetmap.org/wp" database_name "osm-blog" database_user "osm-blog-user"