bundles/miniflux: use metadata.get()
This commit is contained in:
parent
0190555f16
commit
50cba7cb49
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ files = {
|
|||
'/etc/miniflux.conf': {
|
||||
'content_type': 'mako',
|
||||
'context': {
|
||||
'dbpassword': node.metadata['postgresql']['roles']['miniflux']['password'],
|
||||
'base_url': node.metadata['miniflux']['domain'],
|
||||
'dbpassword': node.metadata.get('postgresql/roles/miniflux/password'),
|
||||
'base_url': node.metadata.get('miniflux/domain'),
|
||||
},
|
||||
'triggers': {
|
||||
'svc_systemd:miniflux:restart',
|
||||
|
|
Loading…
Reference in a new issue