summaryrefslogtreecommitdiff
path: root/manifests/modload.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/modload.pp')
-rw-r--r--manifests/modload.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/modload.pp b/manifests/modload.pp
new file mode 100644
index 00000000..7a838af1
--- /dev/null
+++ b/manifests/modload.pp
@@ -0,0 +1,15 @@
+# == Class: rsyslog::modload
+#
+
+class rsyslog::modload (
+ $modload_filename = '10-modload.conf',
+) {
+ file { "${rsyslog::rsyslog_d}${modload_filename}":
+ ensure => file,
+ owner => 'root',
+ group => $rsyslog::run_group,
+ content => template('rsyslog/modload.erb'),
+ require => Class['rsyslog::install'],
+ notify => Class['rsyslog::service'],
+ }
+}