summaryrefslogtreecommitdiff
path: root/templates/rsyslog.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rsyslog.conf.erb')
-rw-r--r--templates/rsyslog.conf.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/rsyslog.conf.erb b/templates/rsyslog.conf.erb
index 097df0c..0339ef9 100644
--- a/templates/rsyslog.conf.erb
+++ b/templates/rsyslog.conf.erb
@@ -35,4 +35,8 @@ $IncludeConfig <%= scope.lookupvar('rsyslog::rsyslog_d') -%>*.conf
#
# Emergencies are sent to everybody logged in.
#
+<% if scope.lookupvar('rsyslog::v8plus') == true -%>
+*.emerg :omusrmsg:*
+<% else -%>
*.emerg *
+<% end -%>