salt-common/sls/smartmontools/smartd.sls
2016-04-17 02:52:58 +03:00

19 lines
335 B
Plaintext

include:
- smartmontools.pkg
smartd_service:
service.running:
- name: smartd
- enable: True
- watch:
- pkg: smartmontools
- file: /etc/smartd.conf
/etc/smartd.conf:
file.managed:
- source: salt://smartmontools/smartd.conf.tpl
- template: jinja
- user: root
- group: root
- mode: 640