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': {
|
'/etc/miniflux.conf': {
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
'context': {
|
'context': {
|
||||||
'dbpassword': node.metadata['postgresql']['roles']['miniflux']['password'],
|
'dbpassword': node.metadata.get('postgresql/roles/miniflux/password'),
|
||||||
'base_url': node.metadata['miniflux']['domain'],
|
'base_url': node.metadata.get('miniflux/domain'),
|
||||||
},
|
},
|
||||||
'triggers': {
|
'triggers': {
|
||||||
'svc_systemd:miniflux:restart',
|
'svc_systemd:miniflux:restart',
|
||||||
|
|
Loading…
Reference in a new issue