2020-10-18 13:48:50 +00:00
|
|
|
files = {
|
|
|
|
'/etc/miniflux.conf': {
|
|
|
|
'content_type': 'mako',
|
|
|
|
'context': {
|
2020-11-10 11:37:58 +00:00
|
|
|
'dbpassword': node.metadata['postgresql']['roles']['miniflux']['password'],
|
2020-10-18 13:48:50 +00:00
|
|
|
'base_url': node.metadata['miniflux']['domain'],
|
|
|
|
},
|
|
|
|
'triggers': {
|
|
|
|
'svc_systemd:miniflux:restart',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'/etc/systemd/system/miniflux.service.d/bundlewrap.conf': {
|
|
|
|
'source': 'override.conf',
|
|
|
|
'triggers': {
|
|
|
|
'action:systemd-reload',
|
|
|
|
'svc_systemd:miniflux:restart',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
svc_systemd = {
|
|
|
|
'miniflux': {
|
|
|
|
'needs': {
|
|
|
|
'file:/etc/miniflux.conf',
|
|
|
|
'file:/etc/systemd/system/miniflux.service.d/bundlewrap.conf',
|
|
|
|
'pkg_apt:miniflux',
|
|
|
|
'postgres_role:miniflux',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|