summaryrefslogtreecommitdiff
path: root/puppet/modules/rsyslog/manifests/modload.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/rsyslog/manifests/modload.pp')
-rw-r--r--puppet/modules/rsyslog/manifests/modload.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/rsyslog/manifests/modload.pp b/puppet/modules/rsyslog/manifests/modload.pp
new file mode 100644
index 00000000..7a838af1
--- /dev/null
+++ b/puppet/modules/rsyslog/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'],
+ }
+}