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
|
@ -6,7 +6,7 @@ directories = {
|
|||
},
|
||||
}
|
||||
|
||||
for config in node.metadata.get('openvpn-client', {}).get('configs', set()):
|
||||
for config in node.metadata.get('openvpn-client/configs', set()):
|
||||
files[f'/etc/openvpn/client/{config}.conf'] = {
|
||||
'content': repo.vault.decrypt_file(join('openvpn-client', f'{config}.conf.vault')),
|
||||
'triggers': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue