summaryrefslogtreecommitdiff
path: root/manifests/snippet.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/snippet.pp')
-rw-r--r--manifests/snippet.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/snippet.pp b/manifests/snippet.pp
index d59a829..38e71d4 100644
--- a/manifests/snippet.pp
+++ b/manifests/snippet.pp
@@ -1,3 +1,20 @@
+# == Define: rsyslog::snippet
+#
+# This class allows for you to create a rsyslog configuration file with whatever content you pass in.
+#
+# === Parameters
+#
+# [*content*] - The actual content to place in the file.
+# [*ensure*] - How to enforce the file (default: present)
+#
+# === Variables
+#
+# === Examples
+#
+# rsyslog::snippet { 'my-rsyslog-config':
+# content => '<Some rsyslog directive>',
+# }
+#
define rsyslog::snippet(
$content,
$ensure = 'present'