blob: 89d3c2ace2dbae535b97cb0fc4e98804488caf9d [file] [log] [blame]
---
driver:
name: docker
hostname: keystone.ci.local
use_sudo: false
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: <%=ENV['SALT_VERSION'] || 'latest'%>
require_chef: false
log_level: error
formula: keystone
grains:
noservices: True
dependencies:
- name: linux
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
- name: apache
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
- name: memcached
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/memcached
- name: cadf
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/cadf
- name: rabbitmq
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/rabbitmq
- name: oslo_templates
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
- name: mysql
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql
state_top:
base:
"*":
- linux
- keystone
pillars:
release.sls:
keystone:
server:
version: <%= ENV['OS_VERSION'] || 'pike' %>
ssl.sls:
keystone:
server:
identity:
protocol: https
database:
x509:
enabled: True
ca_file: /etc/keystone/ssl/mysql/ca-cert.pem
key_file: /etc/keystone/ssl/mysql/client-key.pem
cert_file: /etc/keystone/ssl/mysql/client-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
cert: |
-----BEGIN CERTIFICATE-----
MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
-----END CERTIFICATE-----
key: |
-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
-----END RSA PRIVATE KEY-----
ssl:
enabled: True
cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
message_queue:
port: 5671
ssl:
enabled: True
cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
top.sls:
base:
"*":
- linux_repo_openstack
- keystone
- release
pillars-from-files:
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
verifier:
name: inspec
sudo: true
platforms:
- name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
driver_config:
image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
platform: ubuntu
suites:
- name: single
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single.sls
- name: single_ssl
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single.sls
pillars:
top.sls:
base:
"*":
- linux_repo_openstack
- keystone
- release
- ssl
- name: single_domain
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single_domain.sls
- name: single_fernet
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/single_fernet.sls
- name: under-apache
provisioner:
pillars-from-files:
keystone.sls: tests/pillar/apache_wsgi.sls
state_top:
base:
"*":
- linux
- mysql
- apache
- keystone
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125