changed check
This commit is contained in:
@@ -327,7 +327,7 @@ $ng_enable_index = true,
|
||||
|
||||
# certbot
|
||||
$ng_enable_certbot = true,
|
||||
$ng_certbot_cert_path = '/var/www/html',
|
||||
$ng_certbot_webroot = '/var/www/html',
|
||||
$ng_webserver_name = "nagios.${::domain}",
|
||||
|
||||
) {
|
||||
@@ -382,6 +382,12 @@ $ng_unless_renew_erb = 'cd_nagios/certbot/unless_renew_cert.erb'
|
||||
$ng_index_html_file = '/var/www/html/index.html'
|
||||
$ng_index_html_erb = 'cd_nagios/httpd/index_html.erb'
|
||||
|
||||
# certbot
|
||||
$ng_certbot_main_dir = '/etc/letsencrypt'
|
||||
$ng_certbot_archive = "${ng_certbot_main_dir}/archive"
|
||||
$ng_certbot_cert = "${ng_certbot_archive}/${ng_webserver_name}/cert1.pem"
|
||||
|
||||
|
||||
# includes must be last
|
||||
|
||||
include cd_nagios::main::config
|
||||
|
||||
Reference in New Issue
Block a user