From 3252eaf33a90183c801e9d36102c63bc7d5cc734 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 20 Jul 2017 17:21:09 +0100 Subject: [PATCH] trying to work my way again through selinux --- manifests/selinux/config.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manifests/selinux/config.pp b/manifests/selinux/config.pp index 2cf5f1c..7abb76b 100644 --- a/manifests/selinux/config.pp +++ b/manifests/selinux/config.pp @@ -38,12 +38,12 @@ class cd_nagios::selinux::config ( creates => "${ng_user_home}/avc_alerts", } - # sealert tac-cgi + # sealert tac-cgi exec { 'create_policy_taccgi': command => template($ng_taccgi_erb), path => ['/usr/bin','/usr/sbin'], cwd => $ng_user_home, - creates => '/tmp/my-taccgi.pp', + creates => "${ng_user_home}/my-taccgi.pp", notify => Exec['semodule_taccgi'], } @@ -61,7 +61,7 @@ class cd_nagios::selinux::config ( command => template($ng_statcgi_erb), path => ['/usr/bin','/usr/sbin'], cwd => $ng_user_home, - creates => '/tmp/my-statuscgi.pp', + creates => "${ng_user_home}/my-statuscgi.pp", notify => Exec['semodule_taccgi'], } @@ -72,6 +72,5 @@ class cd_nagios::selinux::config ( require => Exec['create_policy_statuscgi'], refreshonly => true, } - } }