Add an empty template because the nginx_certbot_site resource needs one
This commit is contained in:
parent
632cb38aab
commit
e24cd01287
@ -81,6 +81,12 @@ action :create do
|
||||
|
||||
include_recipe "kosmos-nginx"
|
||||
|
||||
template "#{node['nginx']['dir']}/sites-available/#{new_resource.hostname}" do
|
||||
source 'nginx_conf_empty.erb'
|
||||
owner node["nginx"]["user"]
|
||||
mode 0640
|
||||
end
|
||||
|
||||
nginx_certbot_site new_resource.hostname do
|
||||
notifies :run, "execute[generate p12 cert]", :immediately
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user