From 5070b178e4b32450635fa04051bfdf3a7254f4d5 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 23 Feb 2016 18:53:32 +0100 Subject: [PATCH] Create infra domain and infracloud tenants below it We agreed to put the infracloud tenants under infra domain. Change-Id: I69f9629c5974f77966440bc84833de67416a731c --- .../openstack_project/manifests/infracloud/controller.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/openstack_project/manifests/infracloud/controller.pp b/modules/openstack_project/manifests/infracloud/controller.pp index 4060d8db66..238b96a488 100644 --- a/modules/openstack_project/manifests/infracloud/controller.pp +++ b/modules/openstack_project/manifests/infracloud/controller.pp @@ -39,13 +39,22 @@ class openstack_project::infracloud::controller ( controller_public_address => $controller_public_address, } + keystone_domain { 'infra': + ensure => present, + enabled => true, + } + keystone_tenant { 'openstackci': ensure => present, enabled => true, + domain => 'infra', + require => Keystone_domain['infra'], } keystone_tenant { 'openstackjenkins': ensure => present, enabled => true, + domain => 'infra', + require => Keystone_domain['infra'], } }