
{% set server = salt['grains.filter_by']({
    'Debian': {
        'pkgs': ['glance', 'glance-api', 'glance-registry', 'glance-common', 'python-glance', 'python-glance-store', 'python-glanceclient', 'gettext-base', 'python-memcache', 'python-pycadf'],
        'services': ['glance-api', 'glance-registry'],
        'notification': False,
        'audit': {
          'enabled': false
        }
    },
    'RedHat': {
        'pkgs': ['openstack-glance', 'python-glanceclient','python-pycadf'],
        'services': ['openstack-glance-api', 'openstack-glance-registry'],
        'notification': False,
        'audit': {
          'enabled': false
        }
    },
}, merge=pillar.glance.get('server', {})) %}
