added selinux status configuration
This commit is contained in:
@@ -30,7 +30,7 @@ class cd_selinux::main::config (
|
|||||||
if $sx_selinux_status == 'enforcing' {
|
if $sx_selinux_status == 'enforcing' {
|
||||||
exec { 'set_selinux_status':
|
exec { 'set_selinux_status':
|
||||||
command => 'setenforce 1',
|
command => 'setenforce 1',
|
||||||
path => '/usr/sbin',
|
path => ['/usr/sbin','/usr/bin'],
|
||||||
provider => shell,
|
provider => shell,
|
||||||
unless => 'getenforce | grep -i "enforcing"'
|
unless => 'getenforce | grep -i "enforcing"'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user