mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 18:35:18 +00:00
19 lines
335 B
Plaintext
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
|