adds grep c[Fheck

This commit is contained in:
Arne Teuke
2018-04-29 13:54:27 +02:00
parent c150bcd51d
commit 8b53bf81d8

View File

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