bundlewrap/bundles/elasticsearch/items.py

24 lines
544 B
Python
Raw Permalink Normal View History

2022-01-09 21:04:11 +00:00
files = {
'/etc/elasticsearch/elasticsearch.yml': {
'content_type': 'mako',
'triggers': {
'svc_systemd:elasticsearch:restart',
}
},
'/etc/systemd/system/elasticsearch.service.d/override.conf': {
'triggers': {
'action:systemd-reload',
'svc_systemd:elasticsearch:restart',
},
},
2022-01-09 21:04:11 +00:00
}
svc_systemd = {
'elasticsearch': {
'needs': {
'file:/etc/elasticsearch/elasticsearch.yml',
'pkg_apt:elasticsearch',
},
},
}