aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/role.role.j2.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/role.role.j2.yaml
parentf08e5d8c5dad6e47a6ddeea7cd661d40e594b8d5 (diff)
parentf1cc2143842e869c97aed5f777c0ec1144d0d132 (diff)
Merge "Add pre-network hook and example showing config-then-reboot"
Diffstat (limited to 'puppet/role.role.j2.yaml')
-rw-r--r--puppet/role.role.j2.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/role.role.j2.yaml b/puppet/role.role.j2.yaml
index ffd3307..8caa119 100644
--- a/puppet/role.role.j2.yaml
+++ b/puppet/role.role.j2.yaml
@@ -359,8 +359,14 @@ resources:
- - {get_attr: [{{role}}, name]}
- ctlplane
+ PreNetworkConfig:
+ type: OS::TripleO::{{role}}::PreNetworkConfig
+ properties:
+ server: {get_resource: {{role}}}}
+
NetworkDeployment:
type: OS::TripleO::SoftwareDeployment
+ depends_on: PreNetworkConfig
properties:
name: NetworkDeployment
config: {get_resource: NetworkConfig}