X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/88d4370f3c466fc38918c432e825a67804c9e385..643f28e4f32f013c16d04378d7d1f3dd7d8edc17:/cookbooks/apache/recipes/ssl.rb diff --git a/cookbooks/apache/recipes/ssl.rb b/cookbooks/apache/recipes/ssl.rb index b9b2ca305..b2818df70 100644 --- a/cookbooks/apache/recipes/ssl.rb +++ b/cookbooks/apache/recipes/ssl.rb @@ -17,10 +17,6 @@ # limitations under the License. # -certificate = node[:apache][:ssl][:certificate] - -node.default[:ssl][:certificates] = node[:ssl][:certificates] | [certificate] - include_recipe "apache" include_recipe "ssl" @@ -28,11 +24,5 @@ apache_module "ssl" apache_conf "ssl" do template "ssl.erb" - variables :certificate => certificate notifies :reload, "service[apache2]" end - -apache = resources("service[apache2]") - -apache.subscribes(:restart, "file[/etc/ssl/certs/#{certificate}.pem]") -apache.subscribes(:restart, "file[/etc/ssl/private/#{certificate}.key]")