|
1234567891011 |
-
- {% set service = salt['grains.filter_by']({
- 'Debian': {
- 'pkgs': ['iptables','iptables-persistent' ],
- 'service': 'iptables-persistent',
- },
- 'RedHat': {
- 'pkgs': ['iptables'],
- 'service': 'iptables',
- },
- }, merge=salt['pillar.get']('iptables:service')) %}
|