diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2013-04-29 12:33:46 +0200 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2013-04-29 12:33:46 +0200 |
commit | a726b4045442fe2219353fb983d650fcd94b13be (patch) | |
tree | 37e5ddb4f8ac5083f000a189d358e66e2b36ab7f /manifests/service.pp | |
parent | 08c49965861137ae79620c7ca82af572f0ef024f (diff) |
rsyslog: make all module params configurable
+ support false for *_package_name variables. This is useful if relp
support is not necessary as it happens that no packages exist for
RedHat < 6.
All these changes should be fully backward compatible.
Diffstat (limited to 'manifests/service.pp')
-rw-r--r-- | manifests/service.pp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/service.pp b/manifests/service.pp index 9826b4a..33623d1 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -10,12 +10,10 @@ # # class { 'rsyslog::service': } # -class rsyslog::service inherits rsyslog::params { - - service { $rsyslog::params::service_name: +class rsyslog::service { + service { $rsyslog::service_name: ensure => running, enable => true, require => Class['rsyslog::config'], } - } |