Make use of the new composable per-service node_ips lists by adding a ServiceNetMap entry for SwiftStorage, then pass the data to construct the raw device list into puppet-tripleo instead of mangling it in t-h-t inside the role templates. This will allow running swift storage services on nodes other than the Controller and ObjectStorage roles, and is required to enable custom roles. Depends-On: I11deed1df712ecccf85d36a75b3bd2e9d226af36 Change-Id: I1bf5f8a9d34b1a5d64ab8656b386226b54ec1a27 Partially-Implements: blueprint custom-roleschanges/48/364748/11
parent
158636bf93
commit
bedf3dc546
@ -1,35 +0,0 @@
|
||||
heat_template_version: 2015-04-30
|
||||
description: 'Swift Devices and Proxy Config for Puppet'
|
||||
|
||||
parameters:
|
||||
controller_swift_devices:
|
||||
type: comma_delimited_list
|
||||
object_store_swift_devices:
|
||||
type: comma_delimited_list
|
||||
|
||||
resources:
|
||||
|
||||
SwiftDevicesAndProxyConfigImpl:
|
||||
type: OS::Heat::StructuredConfig
|
||||
properties:
|
||||
group: os-apply-config
|
||||
config:
|
||||
hiera:
|
||||
datafiles:
|
||||
swift_devices_and_proxy:
|
||||
mapped_data:
|
||||
tripleo::profile::base::swift::ringbuilder::devices:
|
||||
list_join:
|
||||
- ", "
|
||||
- - list_join:
|
||||
- ", "
|
||||
- {get_param: controller_swift_devices}
|
||||
- list_join:
|
||||
- ", "
|
||||
- {get_param: object_store_swift_devices}
|
||||
|
||||
outputs:
|
||||
config_id:
|
||||
description: The ID of the SwiftDevicesAndProxyConfigImpl resource.
|
||||
value:
|
||||
{get_resource: SwiftDevicesAndProxyConfigImpl}
|
Loading…
Reference in new issue