Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add custom roles data for deployed-server"
[apex-tripleo-heat-templates.git]
/
puppet
/
blockstorage-role.yaml
diff --git
a/puppet/blockstorage-role.yaml
b/puppet/blockstorage-role.yaml
index
e74beb2
..
e92de45
100644
(file)
--- a/
puppet/blockstorage-role.yaml
+++ b/
puppet/blockstorage-role.yaml
@@
-1,4
+1,4
@@
-heat_template_version:
2016-10-14
+heat_template_version:
ocata
description: 'OpenStack cinder storage configured by Puppet'
parameters:
BlockStorageImage:
description: 'OpenStack cinder storage configured by Puppet'
parameters:
BlockStorageImage:
@@
-336,8
+336,14
@@
resources:
- - {get_attr: [BlockStorage, name]}
- ctlplane
- - {get_attr: [BlockStorage, name]}
- ctlplane
+ PreNetworkConfig:
+ type: OS::TripleO::BlockStorage::PreNetworkConfig
+ properties:
+ server: {get_resource: BlockStorage}
+
NetworkDeployment:
type: OS::TripleO::SoftwareDeployment
NetworkDeployment:
type: OS::TripleO::SoftwareDeployment
+ depends_on: PreNetworkConfig
properties:
name: NetworkDeployment
config: {get_resource: NetworkConfig}
properties:
name: NetworkDeployment
config: {get_resource: NetworkConfig}