mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-07 10:48:59 +00:00
Add file.symlink for suricata services;
This commit is contained in:
parent
fb53f0f3ca
commit
7424d8331f
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user