backup false
end
+ 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
cookbook "wordpress"
template "apache.erb"
directory site_directory
variables :aliases => Array(new_resource.aliases),
:urls => new_resource.urls,
- :ssl_enabled => new_resource.ssl_enabled,
- :ssl_certificate => new_resource.ssl_certificate,
- :ssl_certificate_chain => new_resource.ssl_certificate_chain
+ :ssl_enabled => new_resource.ssl_enabled
reload_apache false
end