syntax
This commit is contained in:
@@ -47,10 +47,11 @@ class cd_nagios::certbot::config (
|
|||||||
command => "rm -Rf ${ng_index_html_file}",
|
command => "rm -Rf ${ng_index_html_file}",
|
||||||
creates => '/etc/httpd/conf.d/.cert_created',
|
creates => '/etc/httpd/conf.d/.cert_created',
|
||||||
require => Exec['remove_nagios_conf'],
|
require => Exec['remove_nagios_conf'],
|
||||||
|
notify => Service[$ae_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'disable_selinux_temporarily':
|
exec { 'disable_selinux_temporarily':
|
||||||
command => 'setenforce 0'
|
command => 'setenforce 0',
|
||||||
path => ['/usr/sbin'],
|
path => ['/usr/sbin'],
|
||||||
creates => '/etc/httpd/conf.d/.cert_created',
|
creates => '/etc/httpd/conf.d/.cert_created',
|
||||||
require => Exec['remove_index_html'],
|
require => Exec['remove_index_html'],
|
||||||
@@ -69,7 +70,7 @@ class cd_nagios::certbot::config (
|
|||||||
}
|
}
|
||||||
|
|
||||||
exec { 'enable_selinux':
|
exec { 'enable_selinux':
|
||||||
command => 'setenforce 1'
|
command => 'setenforce 1',
|
||||||
path => ['/usr/sbin'],
|
path => ['/usr/sbin'],
|
||||||
creates => '/etc/httpd/conf.d/.cert_created',
|
creates => '/etc/httpd/conf.d/.cert_created',
|
||||||
require => Exec['create_cert'],
|
require => Exec['create_cert'],
|
||||||
|
|||||||
Reference in New Issue
Block a user