X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/42bcc22d183308b136571a77af3f80dd3fd72f06..82224d67c988af7e0934a1e354dd3c083e55a832:/cookbooks/wordpress/providers/site.rb diff --git a/cookbooks/wordpress/providers/site.rb b/cookbooks/wordpress/providers/site.rb index 0920fe9c1..4b389a4be 100644 --- a/cookbooks/wordpress/providers/site.rb +++ b/cookbooks/wordpress/providers/site.rb @@ -126,6 +126,7 @@ action :create do ssl_certificate new_resource.name do domains [new_resource.name] + Array(new_resource.aliases) + only_if { new_resource.ssl_enabled } end apache_site new_resource.name do