{% set cronmap = salt['grains.filter_by']({ 'Ubuntu': { 'service': 'cron', }, 'CentOS': { 'service': 'crond', }, }) %}