added and linked certbot

This commit is contained in:
Arne Teuke
2017-07-21 15:38:51 +01:00
parent 2543121aba
commit c2f38a6816
3 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 {