From a726b4045442fe2219353fb983d650fcd94b13be Mon Sep 17 00:00:00 2001 From: Mathieu Bornoz Date: Mon, 29 Apr 2013 12:33:46 +0200 Subject: 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. --- manifests/service.pp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'manifests/service.pp') 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'], } - } -- cgit v1.2.3