package nut collectd: { templates: [ { template: "nut/collectd.conf" dest: "/etc/collectd.d/nut.conf" hooks: { changed: [ {run: "systemctl try-restart collectd"}, ] } }, ] }