summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authorJonathan Thurman <jthurman@newrelic.com>2012-11-14 11:43:57 -0800
committerJonathan Thurman <jthurman@newrelic.com>2012-11-14 11:43:57 -0800
commitf14ab8a15c76c72c2a8cb92cdd8d79bae613e6ca (patch)
tree1cd26f3247ca0505dc8a3f5c4d9eea24b560d202 /manifests/service.pp
parente34a766c2d294a09af091935039058f160293c9c (diff)
Create spec tests for all classes/defines and perform most cleanup recommended by puppet-lint
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp16
1 files changed, 14 insertions, 2 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 66c03dc..94bd603 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -1,7 +1,19 @@
-class rsyslog::service {
+# == Class: rsyslog::service
+#
+# This class enforces running of the rsyslog service.
+#
+# === Parameters
+#
+# === Variables
+#
+# === Examples
+#
+# class { 'rsyslog::service': }
+#
+class rsyslog::service inherits rsyslog::params {
service { $rsyslog::params::service_name:
ensure => running,
enable => true,
- require => Class["rsyslog::config"],
+ require => Class['rsyslog::config'],
}
}