summaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorKrakowitzer, Merritt <merritt@krakowitzer.com>2014-07-23 15:02:17 +0200
committerKrakowitzer, Merritt <merritt@krakowitzer.com>2014-07-23 15:02:17 +0200
commitfae89b62ac7d7cd24a5e2eb59e6c44f052476327 (patch)
treeabc54722241f26e9f4522cf9f9a09ed2ad7f030b /manifests/params.pp
parent881d3b94c1574aced6d384de228c0ec4d59d66b5 (diff)
Fix Issue #92
setting the perm_file => '0640', and perm_dir => '0750', params do not take effect. As they are overridden by the umask of the the rsyslog process. This is typically set by RHEL rsyslog init script. This can be resolved by setting the $Umask paramater to 0000. It is well documented here: http://www.rsyslog.com/doc/rsconf1_filecreatemode.html
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index f4cd74b..b0014d2 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -109,6 +109,7 @@ class rsyslog::params {
$log_user = 'root'
$log_group = 'root'
$log_style = 'redhat'
+ $umask = '0000'
$perm_file = '0600'
$perm_dir = '0750'
$spool_dir = '/var/lib/rsyslog'