aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/compute.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-25 17:58:58 +0000
committerGerrit Code Review <review@openstack.org>2015-11-25 17:58:58 +0000
commit1f007f2f9ff6f65bd04b5cf25534bbcfa2df44ce (patch)
tree04654e4d13b704a801144ed429fd6b3d43817fa8 /puppet/compute.yaml
parentd35f067ce1dc0bf48251f89cd1dcdeecbf35cc17 (diff)
parent14c4417e425f832660bd54118112fc991564b38d (diff)
Merge "Enable trust anchor injection"
Diffstat (limited to 'puppet/compute.yaml')
-rw-r--r--puppet/compute.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/puppet/compute.yaml b/puppet/compute.yaml
index 6ae39132..1d16a254 100644
--- a/puppet/compute.yaml
+++ b/puppet/compute.yaml
@@ -540,6 +540,13 @@ resources:
enable_package_install: {get_param: EnablePackageInstall}
enable_package_upgrade: {get_attr: [UpdateDeployment, update_managed_packages]}
+ # Resource for site-specific injection of root certificate
+ NodeTLSCAData:
+ depends_on: NovaComputeDeployment
+ type: OS::TripleO::NodeTLSCAData
+ properties:
+ server: {get_resource: NovaCompute}
+
# Hook for site-specific additional pre-deployment config, e.g extra hieradata
ComputeExtraConfigPre:
depends_on: NovaComputeDeployment
@@ -550,7 +557,7 @@ resources:
# Hook for site-specific additional pre-deployment config,
# applying to all nodes, e.g node registration/unregistration
NodeExtraConfig:
- depends_on: ComputeExtraConfigPre
+ depends_on: [ComputeExtraConfigPre, NodeTLSCAData]
type: OS::TripleO::NodeExtraConfig
properties:
server: {get_resource: NovaCompute}
@@ -602,5 +609,6 @@ outputs:
list_join:
- ','
- - {get_attr: [NovaComputeDeployment, deploy_stdout]}
+ - {get_attr: [NodeTLSCAData, deploy_stdout]}
- {get_attr: [ComputeExtraConfigPre, deploy_stdout]}
- {get_param: UpdateIdentifier}