diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2013-04-29 12:37:13 +0200 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2013-04-29 12:37:13 +0200 |
commit | abc3074cccb80c73b468bf96d19fbe42414e8d1e (patch) | |
tree | 43bd4b6e9951b9fc4f94d1bf3bff97e7aeabed82 /manifests/client.pp | |
parent | a726b4045442fe2219353fb983d650fcd94b13be (diff) |
use rsyslog::snippet for client and server configs
Doesn't feature any functional change, but it seems cleaner to use
that definition to avoid repeating dependencies and paths.
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index dcad059..624dfe8 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -38,12 +38,9 @@ class rsyslog::client ( default => template($custom_config), } - file { $rsyslog::client_conf: + rsyslog::snippet {'client': ensure => present, - owner => root, - group => $rsyslog::run_group, content => $content_real, - require => Class['rsyslog::config'], - notify => Class['rsyslog::service'], - } + } + } |