diff options
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 498df44..2b8bef3 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -1,13 +1,13 @@ -class rsyslog::client inherits rsyslog ($log_local = false, $log_auth_local = false, $custom_config = undef) { +class rsyslog::client ($log_local = false, $log_auth_local = false, $custom_config = undef, $server = 'log') inherits rsyslog { file { $rsyslog::params::client_conf: + ensure => present, owner => root, group => root, - ensure => file, content => $custom_config ? { '' => template("${module_name}/client.conf.erb"), default => template($custom_config), }, - require => Class['rsyslog::install'], + require => Class['rsyslog::config'], notify => Class['rsyslog::service'], } } |