aae2896d36
Change-Id: Iccc9f21e6d867203242daf513d6c20408bb29bf0
49 lines
1.5 KiB
Django/Jinja
49 lines
1.5 KiB
Django/Jinja
|
|
{% set server = salt['grains.filter_by']({
|
|
'Debian': {
|
|
'pkgs': ['keystone', 'python-keystone', 'python-keystoneclient', 'python-psycopg2', 'python-mysqldb', 'mysql-client', 'python-six', 'python-memcache', 'python-openstackclient', 'gettext-base'],
|
|
'service_name': 'keystone',
|
|
'version': 'icehouse',
|
|
'api_version': '2',
|
|
'tokens': {
|
|
'engine': 'database',
|
|
'expiration': '86400'
|
|
},
|
|
'notification': False,
|
|
'roles': ['admin', 'Member']
|
|
},
|
|
'RedHat': {
|
|
'pkgs': ['openstack-keystone', 'openstack-utils', 'python-keystone', 'python-keystoneclient'],
|
|
'service_name': 'openstack-keystone',
|
|
'api_version': '2',
|
|
'version': 'icehouse',
|
|
'tokens': {
|
|
'engine': 'database',
|
|
'expiration': '86400'
|
|
},
|
|
'notification': False,
|
|
'roles': ['admin', 'Member']
|
|
},
|
|
}, merge=pillar.keystone.get('server', {})) %}
|
|
|
|
{% set client = salt['grains.filter_by']({
|
|
'Debian': {
|
|
'pkgs': ['python-keystoneclient', 'python-openstackclient'],
|
|
'service': 'keystone',
|
|
'roles': ['admin', 'Member'],
|
|
},
|
|
'RedHat': {
|
|
'pkgs': ['python-keystoneclient'],
|
|
'roles': ['admin', 'Member'],
|
|
},
|
|
}, merge=pillar.keystone.get('client', {})) %}
|
|
|
|
{% set control = salt['grains.filter_by']({
|
|
'Debian': {
|
|
'pkgs': [],
|
|
},
|
|
'RedHat': {
|
|
'pkgs': [],
|
|
},
|
|
}, merge=pillar.keystone.get('control', {})) %}
|