Change the notifies property to :immediately in nginx_certbot_site. This way the vhost template is recreated and then triggers a reload of the nginx service. The previous code resulted in nginx not being reloaded, as the action had already been queued earlier.
12 lines
320 B
Ruby
12 lines
320 B
Ruby
name 'kosmos-nginx'
|
|
maintainer 'Kosmos'
|
|
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.2'
|
|
|
|
depends 'nginx'
|
|
depends 'firewall'
|
|
depends 'openssl'
|