added selinux boolean
This commit is contained in:
@@ -31,7 +31,7 @@ class cd_nrpe::selinux::config (
|
||||
command => 'setsebool -P nagios_run_sudo 1',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => '/tmp',
|
||||
unless => 'getsebool nagios_run_sudo | awk '{print$3}' | grep -ic "on"'
|
||||
unless => 'getsebool nagios_run_sudo | awk \'{print$3}\' | grep -ic "on"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user