Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
@@ -22,7 +22,9 @@ postfix:
/etc/postfix/master.cf:
file.managed:
- source:
+ - salt://postfix/master.cf.{{ grains['id'] }}
- salt://postfix/master.cf.{{ grains['nodename'] }}
+ - salt://postfix/master.cf.{{ grains.oscodename }}
- salt://postfix/master.cf
- watch_in:
- service: postfix