Add file.symlink for suricata services;

This commit is contained in:
Antsiferov Grigory 2017-07-13 15:22:59 +03:00
parent fb53f0f3ca
commit 7424d8331f

View File

@ -32,11 +32,16 @@ include:
- user: root
- group: root
/etc/init.d/suricata.{{ name }}:
file.symlink:
- target: /etc/init.d/suricata
suricata.{{ name }}:
service.running:
- enabled: True
- watch:
- pkg: net-analyzer/suricata
- file: /etc/conf.d/suricata
- file: /etc/init.d/suricata.{{ name }}
- file: /etc/suricata/suricata-{{ name }}.yaml
{% endfor %}