Page MenuHomeDevCentral

D1372.diff
No OneTemporary

D1372.diff

diff --git a/pillar/nodes/nodes.sls b/pillar/nodes/nodes.sls
--- a/pillar/nodes/nodes.sls
+++ b/pillar/nodes/nodes.sls
@@ -59,3 +59,5 @@
- shellserver
network:
ipv6_tunnel: True
+ fixes:
+ rsyslog_xconsole: True
diff --git a/roles/core/rsyslog/init.sls b/roles/core/rsyslog/init.sls
--- a/roles/core/rsyslog/init.sls
+++ b/roles/core/rsyslog/init.sls
@@ -12,7 +12,7 @@
# See http://kb.monitorware.com/kbeventdb-detail-id-6925.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% if salt['file.directory_exists' ]('/etc/rsyslog.d') %}
+{% if salt['node.has']('fixes:rsyslog_xconsole') %}
/etc/rsyslog.d/50-default.conf:
file.managed:
- name : /etc/rsyslog.d/50-default.conf

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 13:57 (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308127
Default Alt Text
D1372.diff (738 B)

Event Timeline