added certbot section
This commit is contained in:
@@ -203,6 +203,12 @@
|
||||
# @param [boolean] ng_disable_welcome Whether the regular welcome screen should
|
||||
# be disabled. this is required for the nagios http check on the nagios server
|
||||
# to be successful.
|
||||
# @param [boolean] ng_enable_certbot Whether to use certbot for automated TLS
|
||||
# certificate management
|
||||
# @param [string] ng_certbot_cert_path the path for certbot to place
|
||||
# challenges for teh certification process.
|
||||
# @param [string] ng_mail_user email address to receive administrative mail.
|
||||
# used for nagios itself as well as for certbot.
|
||||
###############################################################################
|
||||
class cd_nagios::params (
|
||||
|
||||
@@ -210,6 +216,7 @@ $pkg_ensure = 'latest',
|
||||
|
||||
$ng_nagios_server = "nagios.${::domain}",
|
||||
$ng_nagios_ext_ip = undef,
|
||||
$ng_mail_user = "admin@${::domain}",
|
||||
|
||||
$ng_include_nrpe = true,
|
||||
|
||||
@@ -315,6 +322,10 @@ $ng_required_hosts = '',
|
||||
$ng_required_ips = '127.0.0.0/8',
|
||||
$ng_disable_welcome = true,
|
||||
|
||||
# certbot
|
||||
$ng_enable_certbot = true,
|
||||
$ng_certbot_cert_path = '/var/www/html',
|
||||
|
||||
) {
|
||||
|
||||
# installation section
|
||||
|
||||
Reference in New Issue
Block a user