Changeset View
Changeset View
Standalone View
Standalone View
roles/router/carp/init.sls
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
| /etc/syslog.conf: | /etc/syslog.conf: | ||||
| file.replace: | file.replace: | ||||
| - pattern: '^\*\.notice;authpriv\.none;kern\.debug;lpr\.info;mail\.crit;news\.err\s+/var/log/messages$' | - pattern: '^\*\.notice;authpriv\.none;kern\.debug;lpr\.info;mail\.crit;news\.err\s+/var/log/messages$' | ||||
| - repl: '!-carp-ovh\n*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages\n!*' | - repl: '!-carp-ovh\n*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages\n!*' | ||||
| - flags: | - flags: | ||||
| - MULTILINE | - MULTILINE | ||||
| - count: 1 | - count: 1 | ||||
| - backup: False | - backup: False | ||||
| - unless: grep -Fqx '!-carp-ovh' /etc/syslog.conf | - unless: grep -Eq '^!-(carp-ovh|carp-ovh,gre-tunnels|gre-tunnels,carp-ovh)$' /etc/syslog.conf | ||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator