23 lines
544 B
Python
23 lines
544 B
Python
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',
|
|
},
|
|
},
|
|
}
|
|
|
|
svc_systemd = {
|
|
'elasticsearch': {
|
|
'needs': {
|
|
'file:/etc/elasticsearch/elasticsearch.yml',
|
|
'pkg_apt:elasticsearch',
|
|
},
|
|
},
|
|
}
|