reversing steps to create cert

This commit is contained in:
Arne Teuke
2017-07-22 12:38:36 +01:00
parent d5a5afcfc3
commit a38ace2f06
3 changed files with 12 additions and 7 deletions

View File

@@ -208,6 +208,10 @@
# used for nagios itself as well as for certbot.
# @param [boolean] ng_enable_index Whether to create an index file to allow
# httpd checks with nagios on the nagios server.
# @param [string] ng_webserver_name the name of the web server nagios should
# listen to, i.e. 'nagios.example.net'. Unlike `ng_nagios_server`, this
# should not be the FQDN of the nagios host, but a web server domain name.
# required for certbot and used in the web templates.
###############################################################################
class cd_nagios::params (
@@ -324,6 +328,7 @@ $ng_enable_index = true,
# certbot
$ng_enable_certbot = true,
$ng_certbot_cert_path = '/var/www/html',
$ng_webserver_name = "nagios.${::domain}",
) {