Add virtual-mcp-aio-barbican model
The model with nova/glance/cinder barbican integration enabled.
Change-Id: I1be48a9ebad3e8c534da2c25a577688421931b94
diff --git a/classes/cluster/virtual-mcp11-aio-barbican/.env b/classes/cluster/virtual-mcp11-aio-barbican/.env
new file mode 100644
index 0000000..b63c1b9
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-barbican/.env
@@ -0,0 +1 @@
+FORMULAS_SALT_MASTER+=(java openssh ntp nginx collectd sensu heka sphinx mysql galera grafana libvirt rsyslog glusterfs postfix xtrabackup freeipa prometheus telegraf elasticsearch kibana rundeck devops-portal libvirt rsyslog memcached rabbitmq apache keystone glance nova neutron cinder heat horizon ironic tftpd-hpa bind powerdns designate barbican iptables manila)
diff --git a/classes/cluster/virtual-mcp11-aio-barbican/infra/config.yml b/classes/cluster/virtual-mcp11-aio-barbican/infra/config.yml
new file mode 100644
index 0000000..199e9d8
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-barbican/infra/config.yml
@@ -0,0 +1,3 @@
+classes:
+- cluster.virtual-mcp11-aio-barbican
+- cluster.virtual-mcp11-aio.infra.config
diff --git a/classes/cluster/virtual-mcp11-aio-barbican/infra/init.yml b/classes/cluster/virtual-mcp11-aio-barbican/infra/init.yml
new file mode 100644
index 0000000..219ed8d
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-barbican/infra/init.yml
@@ -0,0 +1,2 @@
+classes:
+ - cluster.virtual-mcp11-aio.infra
diff --git a/classes/cluster/virtual-mcp11-aio-barbican/init.yml b/classes/cluster/virtual-mcp11-aio-barbican/init.yml
new file mode 100755
index 0000000..b1cb0a4
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-barbican/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.virtual-mcp11-aio-barbican.infra
+- cluster.virtual-mcp11-aio-barbican.openstack
+- cluster.virtual-mcp11-aio
+- cluster.overrides
diff --git a/classes/cluster/virtual-mcp11-aio-barbican/openstack/init.yml b/classes/cluster/virtual-mcp11-aio-barbican/openstack/init.yml
new file mode 100755
index 0000000..e4503f8
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-barbican/openstack/init.yml
@@ -0,0 +1,40 @@
+classes:
+- system.galera.server.database.barbican
+- system.keystone.client.service.barbican
+- system.barbican.server.single
+- service.barbican.server.plugin.simple_crypto
+- cluster.virtual-mcp11-aio.openstack
+parameters:
+ _param:
+ keystone_barbican_password: workshop
+ barbican_service_host: ${_param:single_address}
+ mysql_barbican_password: workshop
+ barbican_simple_crypto_kek: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
+ barbican_integration_enabled: true
+ barbican:
+ server:
+ enabled: true
+ dogtag_admin_cert:
+ engine: mine
+ minion: ${linux:network:fqdn}
+ ks_notifications_enable: True
+ store:
+ software:
+ crypto_plugin: simple_crypto
+ store_plugin: store_crypto
+ global_default: True
+ nova:
+ compute:
+ barbican:
+ enabled: ${_param:barbican_integration_enabled}
+ controller:
+ barbican:
+ enabled: ${_param:barbican_integration_enabled}
+ cinder:
+ controller:
+ barbican:
+ enabled: ${_param:barbican_integration_enabled}
+ glance:
+ server:
+ barbican:
+ enabled: ${_param:barbican_integration_enabled}