Blame salt/profile/log/files/etc/rsyslog.d/server.conf
|
Theo Chatzimichos |
f46ac3 |
# Managed by Salt
|
|
Theo Chatzimichos |
f46ac3 |
#
|
|
Theo Chatzimichos |
f46ac3 |
# We are using a static file because the new syntax for template is not
|
|
Theo Chatzimichos |
f46ac3 |
# supported yet at the formula
|
|
Theo Chatzimichos |
f46ac3 |
|
|
Theo Chatzimichos |
f46ac3 |
template(name="DynFile" type="string" string="/var/log/opensuse/hosts/%HOSTNAME%.log")
|
|
Theo Chatzimichos |
f46ac3 |
|
|
Theo Chatzimichos |
f46ac3 |
if $hostname != "monitor" then {
|
|
Theo Chatzimichos |
f46ac3 |
?DynFile
|
|
Theo Chatzimichos |
f46ac3 |
stop
|
|
Theo Chatzimichos |
f46ac3 |
}
|