Merge branch 'bugfix/letsencrypt_regenerate_template' of kosmos/chef into master
This commit is contained in:
commit
056a3eb0d6
@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/Configures kosmos-nginx'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '0.3.1'
|
||||
version '0.3.2'
|
||||
|
||||
depends 'nginx'
|
||||
depends 'firewall'
|
||||
|
@ -47,6 +47,6 @@ action :create do
|
||||
::File.exist?("#{node['nginx']['dir']}/sites-enabled/#{domain}_certbot") &&
|
||||
!::File.exist?("/etc/letsencrypt/live/#{domain}/fullchain.pem")
|
||||
end
|
||||
notifies :create, "template[#{node['nginx']['dir']}/sites-available/#{site}]", :delayed
|
||||
notifies :create, "template[#{node['nginx']['dir']}/sites-available/#{site}]", :immediately
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user