adds grep c[Fheck
This commit is contained in:
@@ -41,6 +41,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'create_policy_taccgi':
|
exec { 'create_policy_taccgi':
|
||||||
command => template($ng_taccgi_erb),
|
command => template($ng_taccgi_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-taccgi.pp",
|
creates => "${ng_user_home}/my-taccgi.pp",
|
||||||
notify => Exec['semodule_taccgi'],
|
notify => Exec['semodule_taccgi'],
|
||||||
@@ -49,6 +50,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'semodule_taccgi':
|
exec { 'semodule_taccgi':
|
||||||
command => "semodule -i ${ng_user_home}/my-taccgi.pp",
|
command => "semodule -i ${ng_user_home}/my-taccgi.pp",
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_taccgi'],
|
require => Exec['create_policy_taccgi'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
@@ -116,6 +118,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'create_policy_statusdat':
|
exec { 'create_policy_statusdat':
|
||||||
command => template($ng_statdat_erb),
|
command => template($ng_statdat_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-http.pp",
|
creates => "${ng_user_home}/my-http.pp",
|
||||||
notify => Exec['semodule_statusdat'],
|
notify => Exec['semodule_statusdat'],
|
||||||
@@ -124,6 +127,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'semodule_statusdat':
|
exec { 'semodule_statusdat':
|
||||||
command => "semodule -i ${ng_user_home}/my-httpd.pp",
|
command => "semodule -i ${ng_user_home}/my-httpd.pp",
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_statusdat'],
|
require => Exec['create_policy_statusdat'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
@@ -135,6 +139,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'create_policy_grep':
|
exec { 'create_policy_grep':
|
||||||
command => template($ng_grep_erb),
|
command => template($ng_grep_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-grep.pp",
|
creates => "${ng_user_home}/my-grep.pp",
|
||||||
notify => Exec['semodule_statusdat'],
|
notify => Exec['semodule_statusdat'],
|
||||||
@@ -143,6 +148,7 @@ class cd_nagios::selinux::config (
|
|||||||
exec { 'semodule_grep':
|
exec { 'semodule_grep':
|
||||||
command => "semodule -i ${ng_user_home}/my-grep.pp",
|
command => "semodule -i ${ng_user_home}/my-grep.pp",
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_grep'],
|
require => Exec['create_policy_grep'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user