Use grains in pillar.example

This commit is contained in:
skyler 2014-08-19 19:14:45 -07:00
parent 844de7cf57
commit 6286442d75

View File

@ -12,10 +12,10 @@ postfix:
smtpd_tls_session_cache_database: btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database: btree:${data_directory}/smtp_scache
myhostname: localhost
myhostname: {{ grains['fqdn'] }}
alias_maps: hash:/etc/aliases
alias_database: hash:/etc/aliases
mydestination: localhost, localhost.localdomain, , localhost
mydestination: {{ grains['fqdn'] }}, localhost.localdomain, {{ grains['domain'] }}
relayhost:
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit: 0