trying to work my way again through selinux
This commit is contained in:
@@ -43,7 +43,7 @@ class cd_nagios::selinux::config (
|
|||||||
command => template($ng_taccgi_erb),
|
command => template($ng_taccgi_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => '/tmp/my-taccgi.pp',
|
creates => "${ng_user_home}/my-taccgi.pp",
|
||||||
notify => Exec['semodule_taccgi'],
|
notify => Exec['semodule_taccgi'],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ class cd_nagios::selinux::config (
|
|||||||
command => template($ng_statcgi_erb),
|
command => template($ng_statcgi_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => '/tmp/my-statuscgi.pp',
|
creates => "${ng_user_home}/my-statuscgi.pp",
|
||||||
notify => Exec['semodule_taccgi'],
|
notify => Exec['semodule_taccgi'],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,6 +72,5 @@ class cd_nagios::selinux::config (
|
|||||||
require => Exec['create_policy_statuscgi'],
|
require => Exec['create_policy_statuscgi'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user