diff options
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 7af38ec..ce882b5 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -7,15 +7,15 @@ class rsyslog::client ( $server = 'log' ) inherits rsyslog { - file { $rsyslog::params::client_conf: - ensure => present, - owner => root, - group => root, - content => $custom_config ? { - '' => template("${module_name}/client.conf.erb"), - default => template($custom_config), - }, - require => Class['rsyslog::config'], - notify => Class['rsyslog::service'], - } + file { $rsyslog::params::client_conf: + ensure => present, + owner => root, + group => $rsyslog::params::run_group, + content => $custom_config ? { + '' => template("${module_name}/client.conf.erb"), + default => template($custom_config), + }, + require => Class['rsyslog::config'], + notify => Class['rsyslog::service'], + } } |