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 "Cleanup haproxy service from explicit services enablement"
[apex-tripleo-heat-templates.git]
/
puppet
/
swift-storage-post.yaml
diff --git
a/puppet/swift-storage-post.yaml
b/puppet/swift-storage-post.yaml
index
2b65244
..
ebc54ab
100644
(file)
--- a/
puppet/swift-storage-post.yaml
+++ b/
puppet/swift-storage-post.yaml
@@
-8,8
+8,12
@@
parameters:
type: boolean
servers:
type: json
type: boolean
servers:
type: json
- NodeConfigIdentifiers:
- type: json
+ RoleData:
+ type: json
+ default: {}
+ DeployIdentifier:
+ type: string
+ default: ''
description: Value which changes if the node configuration may need to be re-applied
resources:
description: Value which changes if the node configuration may need to be re-applied
resources:
@@
-23,7
+27,7
@@
resources:
servers: {get_param: servers}
config: {get_resource: StorageArtifactsConfig}
input_values:
servers: {get_param: servers}
config: {get_resource: StorageArtifactsConfig}
input_values:
- update_identifier: {get_param:
NodeConfigIdentifiers
}
+ update_identifier: {get_param:
DeployIdentifier
}
StoragePuppetConfig:
type: OS::Heat::SoftwareConfig
StoragePuppetConfig:
type: OS::Heat::SoftwareConfig
@@
-33,6
+37,7
@@
resources:
enable_debug: {get_param: ConfigDebug}
enable_hiera: True
enable_facter: False
enable_debug: {get_param: ConfigDebug}
enable_hiera: True
enable_facter: False
+ modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
inputs:
- name: step
outputs:
inputs:
- name: step
outputs:
@@
-41,7
+46,7
@@
resources:
list_join:
- ''
- - get_file: manifests/overcloud_object.pp
list_join:
- ''
- - get_file: manifests/overcloud_object.pp
- -
get_file: manifests/ringbuilder.pp
+ -
{get_param: [RoleData, step_config]}
StorageRingbuilderDeployment_Step2:
type: OS::Heat::StructuredDeployments
StorageRingbuilderDeployment_Step2:
type: OS::Heat::StructuredDeployments
@@
-52,7
+57,7
@@
resources:
config: {get_resource: StoragePuppetConfig}
input_values:
step: 2
config: {get_resource: StoragePuppetConfig}
input_values:
step: 2
- update_identifier: {get_param:
NodeConfigIdentifiers
}
+ update_identifier: {get_param:
DeployIdentifier
}
StorageRingbuilderDeployment_Step3:
type: OS::Heat::StructuredDeployments
StorageRingbuilderDeployment_Step3:
type: OS::Heat::StructuredDeployments
@@
-63,7
+68,7
@@
resources:
config: {get_resource: StoragePuppetConfig}
input_values:
step: 3
config: {get_resource: StoragePuppetConfig}
input_values:
step: 3
- update_identifier: {get_param:
NodeConfigIdentifiers
}
+ update_identifier: {get_param:
DeployIdentifier
}
StorageDeployment_Step4:
type: OS::Heat::StructuredDeployments
StorageDeployment_Step4:
type: OS::Heat::StructuredDeployments
@@
-74,7
+79,7
@@
resources:
config: {get_resource: StoragePuppetConfig}
input_values:
step: 4
config: {get_resource: StoragePuppetConfig}
input_values:
step: 4
- update_identifier: {get_param:
NodeConfigIdentifiers
}
+ update_identifier: {get_param:
DeployIdentifier
}
# Note, this should come last, so use depends_on to ensure
# this is created after any other resources.
# Note, this should come last, so use depends_on to ensure
# this is created after any other resources.