{% set package_names = salt['grains.filter_by']({ 'Debian': { 'sharutils': 'sharutils', 'lsyncd': 'lsyncd', 'tcpdump': 'tcpdump', 'debhelper': 'debhelper', 'devscripts': 'devscripts', 'jq': 'jq', 'git': 'git', 'm2crypto': 'm2crypto', 'unzip': 'unzip', 'zip': 'zip', }, 'Ubuntu': { 'sharutils': 'sharutils', 'tcpdump': 'tcpdump', 'jq': 'jq', 'git': 'git', 'm2crypto': 'm2crypto', 'net_tools': 'net-tools', 'unzip': 'unzip', 'zip': 'zip', } }, grain='os', merge=salt['pillar.get']('package_names:lookup')) %}