Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-support / puppet / files / puppet-keystone / 0007-puppet-keystone-specify-full-path-to-openrc.patch
1 From 3e976dc2357aa7a6f9a0352ff2a82e7203f28fba Mon Sep 17 00:00:00 2001
2 From: "Sar Ashki, Babak" <Babak.SarAshki@windriver.com>
3 Date: Wed, 8 Jan 2020 15:54:44 -0800
4 Subject: [PATCH] puppet-keystone: specify full path to openrc
5
6 issue 48: keystone endpoints cannot be populated properly
7 ---
8  manifests/deps.pp | 7 +++++++
9  1 file changed, 7 insertions(+)
10
11 diff --git a/manifests/deps.pp b/manifests/deps.pp
12 index 30c29528..d98154dd 100644
13 --- a/manifests/deps.pp
14 +++ b/manifests/deps.pp
15 @@ -63,18 +63,25 @@ class keystone::deps {
16    # The following resources need to be provisioned after the service is up.
17    Anchor['keystone::service::end']
18    -> Keystone_domain<||>
19 +  -> File['/etc/platform/openrc']
20    Anchor['keystone::service::end']
21    -> Keystone_endpoint<||>
22 +  -> File['/etc/platform/openrc']
23    Anchor['keystone::service::end']
24    -> Keystone_role<||>
25 +  -> File['/etc/platform/openrc']
26    Anchor['keystone::service::end']
27    -> Keystone_service<||>
28 +  -> File['/etc/platform/openrc']
29    Anchor['keystone::service::end']
30    -> Keystone_tenant<||>
31 +  -> File['/etc/platform/openrc']
32    Anchor['keystone::service::end']
33    -> Keystone_user<||>
34 +  -> File['/etc/platform/openrc']
35    Anchor['keystone::service::end']
36    -> Keystone_user_role<||>
37 +  -> File['/etc/platform/openrc']
38  
39    # Installation or config changes will always restart services.
40    Anchor['keystone::install::end'] ~> Anchor['keystone::service::begin']
41 -- 
42 2.23.0
43