bundlewrap/bundles/mosquitto/items.py
Franziska Kunsmann 32826ed131
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/mosquitto: add telegraf stats for tasmota devices
2021-05-15 08:52:37 +02:00

20 lines
405 B
Python

files = {
'/etc/mosquitto/mosquitto.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:mosquitto:restart',
},
},
'/usr/local/bin/tasmota-telegraf-plugin': {
'mode': '0755',
},
}
svc_systemd = {
'mosquitto': {
'needs': {
'file:/etc/mosquitto/mosquitto.conf',
'pkg_apt:mosquitto',
},
},
}