Created
February 2, 2017 00:43
-
-
Save brentrjones/31f2415d36c1da0ab628cefa32c1bed3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pillar/rsyslog.sls: | |
rsyslog: | |
host1: "@somehost1" | |
host2: "@somehost2" | |
state/rsyslog/template/remote.conf.jinja: | |
# Forward syslog messages to remote server | |
{% for host, hostname in pillar.get('rsyslog', {}).items() -%} | |
kern.*;*.info;mail.none;cron.*;authpriv.*;*.emerg {{ hostname }} | |
{% endfor -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment