customfirewall/init.sls
2019-03-22 15:00:54 -07:00

18 lines
385 B
Plaintext

/etc/default/customfirewall:
file.managed:
- source: salt://{{ tpldir }}/customfirewall
- mode: 0644
- template: jinja
/etc/firewall.d/40_customfirewall:
file.managed:
- source: salt://{{ tpldir }}/40_customfirewall
- mode: 0755
firewall:
service:
- running
- watch:
- file: /etc/default/customfirewall
- file: /etc/firewall.d/40_customfirewall