summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJan Örnstedt <jan.ornstedt@postkodlotteriet.se>2014-01-21 14:42:37 +0100
committerJan Örnstedt <jan.ornstedt@postkodlotteriet.se>2014-01-21 14:42:37 +0100
commita5161237e568c4128d97ad695d9d387d49edc184 (patch)
tree013837988340003736437799dd6cb693722ef58d /templates
parentacf2755cda80e2ecd107ed8de4d275c383db0487 (diff)
Made modules in rsyslog.conf configurable via parameter $modules.
Diffstat (limited to 'templates')
-rw-r--r--templates/rsyslog.conf.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/rsyslog.conf.erb b/templates/rsyslog.conf.erb
index cf4e4ee..f076fc4 100644
--- a/templates/rsyslog.conf.erb
+++ b/templates/rsyslog.conf.erb
@@ -4,9 +4,8 @@
#### MODULES ####
#################
-$ModLoad imuxsock # provides support for local system logging
-$ModLoad imklog # provides kernel logging support (previously done by rklogd)
-#$ModLoad immark # provides --MARK-- message capability
+<% @modules.each do |module_row| %>
+<%= module_row %><% end %>
###########################
#### GLOBAL DIRECTIVES ####