summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authorMathieu Bornoz <mathieu.bornoz@camptocamp.com>2013-04-29 12:33:46 +0200
committerMathieu Bornoz <mathieu.bornoz@camptocamp.com>2013-04-29 12:33:46 +0200
commita726b4045442fe2219353fb983d650fcd94b13be (patch)
tree37e5ddb4f8ac5083f000a189d358e66e2b36ab7f /manifests/service.pp
parent08c49965861137ae79620c7ca82af572f0ef024f (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.pp6
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'],
}
-
}