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