blob: 2562cb2fb5fa02d03a020c88cc8a4fd721e35e85 [file] [log] [blame]
{% set service = salt['grains.filter_by']({
'Debian': {
'pkgs': ['iptables','iptables-persistent' ],
'service': 'netfilter-persistent',
},
'RedHat': {
'pkgs': ['iptables'],
'service': 'iptables',
},
}, merge=salt['grains.filter_by']({
'trusty': {
'service': 'iptables-persistent',
},
}, grain='oscodename', merge=salt['pillar.get']('iptables:service'))) %}