---
collectd-config:
  file.managed:
    - name: /etc/collectd/collectd.conf
    - source: salt://collectd/collectd.conf.j2
    - user: root
    - group: root
    - mode: 0664
    - template: jinja
    - watch_in:
      - service: collectd-service
    - require:
      - pkg: collectd-pkg