added and linked certbot
This commit is contained in:
@@ -47,6 +47,7 @@ Configuration
|
||||
* configure firewall (optional)
|
||||
* configure selinux policies (optional)
|
||||
* configure forwarding http to https including accesing the /nagios url directly (optional)
|
||||
* manage TLS certificates through certbot (optional)
|
||||
|
||||
Service
|
||||
* manage Nagios service on server
|
||||
|
||||
@@ -39,7 +39,7 @@ class cd_nagios::certbot::config (
|
||||
unless => template('cd_nagios/certbot/unless_get_cert.erb'),
|
||||
notify => Service['httpd'],
|
||||
creates => '/etc/httpd/conf.d/.cert_created',
|
||||
}
|
||||
}
|
||||
|
||||
# renew certs
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@ class cd_nagios::main::config (
|
||||
if $ng_use_selinux_tools == true {
|
||||
include cd_nagios::selinux::config
|
||||
}
|
||||
|
||||
if $ng_enable_certbot == true {
|
||||
include cd_nagios::certbot::config
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if $::fqdn != $ng_nagios_server {
|
||||
|
||||
Reference in New Issue
Block a user