| |
| {% 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', 'python-pycadf'], |
| 'service_name': 'keystone', |
| 'version': 'icehouse', |
| 'api_version': '2', |
| 'cors': {}, |
| 'tokens': { |
| 'engine': 'database', |
| 'expiration': '86400' |
| }, |
| 'notification': False, |
| 'roles': ['admin', 'Member'], |
| 'cacert': '/etc/ssl/certs/ca-certificates.crt' |
| }, |
| 'RedHat': { |
| 'pkgs': ['openstack-keystone', 'openstack-utils', 'python-keystone', 'python-keystoneclient', 'python-pycadf'], |
| 'service_name': 'openstack-keystone', |
| 'api_version': '2', |
| 'version': 'icehouse', |
| 'cors': {}, |
| 'tokens': { |
| 'engine': 'database', |
| 'expiration': '86400' |
| }, |
| 'notification': False, |
| 'roles': ['admin', 'Member'], |
| 'cacert': '/etc/pki/tls/certs/ca-bundle.crt' |
| }, |
| }, 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', {})) %} |