bundles: use metastack syntax for metadata.get()
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
4be912ac31
commit
b06532241b
38 changed files with 58 additions and 58 deletions
|
@ -1,6 +1,6 @@
|
|||
root: hostmaster@kunbox.net
|
||||
postmaster: hostmaster@kunbox.net
|
||||
|
||||
% for source, target in node.metadata.get('postfix', {}).get('aliases', {}).items():
|
||||
% for source, target in node.metadata.get('postfix/aliases', {}).items():
|
||||
${source}: ${', '.join(sorted(target))}
|
||||
% endfor
|
||||
|
|
|
@ -3,14 +3,14 @@ biff = no
|
|||
append_dot_mydomain = no
|
||||
readme_directory = no
|
||||
compatibility_level = 2
|
||||
myhostname = ${node.metadata.get('postfix', {}).get('myhostname', node.metadata['hostname'])}
|
||||
myhostname = ${node.metadata.get('postfix/myhostname', node.metadata['hostname'])}
|
||||
myorigin = /etc/mailname
|
||||
mydestination = $myhostname, localhost
|
||||
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
||||
mailbox_size_limit = 0
|
||||
recipient_delimiter = +
|
||||
inet_protocols = all
|
||||
message_size_limit = ${node.metadata.get('postfix', {}).get('message_size_limit_mb', 10)*1024*1024}
|
||||
message_size_limit = ${node.metadata.get('postfix/message_size_limit_mb', 10)*1024*1024}
|
||||
alias_database = hash:/etc/aliases
|
||||
alias_maps = hash:/etc/aliases
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue