salt-common/sls/mdadm/init.sls
niku64 ff02434397
Update to salt-2019.2.3 on python3.6 (#80)
* Fix python states

* Remove pkg: python3 deps

* Remove python2_7 from makeconf pillars, fix salt-call-selinux alias

* Translate sls/_* with 2to3 (#81)

Co-authored-by: Andrey Abramov <a.abramov@rbkmoney.com>
2020-03-27 15:41:36 +03:00

19 lines
321 B
Plaintext

include:
- .pkg
/etc/mdadm.conf:
file.managed:
- source: salt://monitoring/files/mdadm.conf.tpl
- template: jinja
- mode: 644
- user: root
- group: root
mdadm:
service.running:
- name: mdadm
- enable: True
- watch:
- pkg: sys-fs/mdadm
- file: /etc/mdadm.conf