svc_systemd = {
    'influxdb': {
        'needs': {
            'pkg_apt:influxdb',
        },
    },
}

files = {
    '/etc/influxdb/influxdb.conf': {
        'needs': {
            'pkg_apt:influxdb',
        },
        'triggers': {
            'svc_systemd:influxdb:restart',
        },
    },
}