bundles/postfix: provide myhostname from reactor
This commit is contained in:
parent
6647e71484
commit
84867ff1e6
4 changed files with 18 additions and 7 deletions
|
@ -25,7 +25,7 @@ my_package = 'pkg_pacman:postfix' if node.os == 'arch' else 'pkg_apt:postfix'
|
|||
|
||||
files = {
|
||||
'/etc/mailname': {
|
||||
'content': node.metadata.get('postfix/myhostname', node.metadata['hostname']),
|
||||
'content': node.metadata.get('postfix/myhostname'),
|
||||
'before': {
|
||||
my_package,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue