aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/compute-role.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-04 19:34:27 +0000
committerGerrit Code Review <review@openstack.org>2017-01-04 19:34:27 +0000
commit4a02aeb22e8f6e27bf8c8ca84422fe9842b8738d (patch)
treeaeac46e92c78c6735de248f3d57ed16f9f1893d3 /puppet/compute-role.yaml
parentf08e5d8c5dad6e47a6ddeea7cd661d40e594b8d5 (diff)
parentf1cc2143842e869c97aed5f777c0ec1144d0d132 (diff)
Merge "Add pre-network hook and example showing config-then-reboot"
Diffstat (limited to 'puppet/compute-role.yaml')
-rw-r--r--puppet/compute-role.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/compute-role.yaml b/puppet/compute-role.yaml
index fb18fac9..62adcd33 100644
--- a/puppet/compute-role.yaml
+++ b/puppet/compute-role.yaml
@@ -345,6 +345,11 @@ resources:
- - {get_attr: [NovaCompute, name]}
- ctlplane
+ PreNetworkConfig:
+ type: OS::TripleO::Compute::PreNetworkConfig
+ properties:
+ server: {get_resource: NovaCompute}
+
NetworkConfig:
type: OS::TripleO::Compute::Net::SoftwareConfig
properties:
@@ -358,6 +363,7 @@ resources:
NetworkDeployment:
type: OS::TripleO::SoftwareDeployment
+ depends_on: PreNetworkConfig
properties:
name: NetworkDeployment
config: {get_resource: NetworkConfig}