removing all final config files on certbot level
This commit is contained in:
@@ -37,6 +37,12 @@ class cd_nagios::certbot::config (
|
||||
creates => '/etc/httpd/conf.d/.cert_created',
|
||||
}
|
||||
|
||||
exec { 'remove_nagios_conf':
|
||||
command => "rm -Rf ${ng_nagios_conf}",
|
||||
creates => '/etc/httpd/conf.d/.cert_created',
|
||||
require => Exec['remove_forward_vhost'],
|
||||
}
|
||||
|
||||
# create temp vhost file
|
||||
|
||||
exec { 'create_temp_vhost':
|
||||
@@ -46,7 +52,7 @@ class cd_nagios::certbot::config (
|
||||
provider => 'shell',
|
||||
creates => '/etc/httpd/conf.d/.created',
|
||||
notify => Service['httpd'],
|
||||
require => Exec['remove_forward_vhost'],
|
||||
require => Exec['remove_nagios_conf'],
|
||||
}
|
||||
|
||||
# create cert
|
||||
|
||||
Reference in New Issue
Block a user