summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index cbdaa16..9826b4a 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -11,9 +11,11 @@
# class { 'rsyslog::service': }
#
class rsyslog::service inherits rsyslog::params {
+
service { $rsyslog::params::service_name:
ensure => running,
enable => true,
require => Class['rsyslog::config'],
}
+
}