1 heat_template_version: pike
4 OpenStack Swift Ringbuilder
9 default: 'tripleoupstream'
11 DockerSwiftProxyImage:
13 default: 'centos-binary-swift-proxy-server:latest'
17 description: Mapping of service_name -> network name. Typically set
18 via parameter_defaults in the resource registry. This
19 mapping overrides those in ServiceNetMapDefaults.
26 description: Role name on which the service is applied
30 description: Parameters specific to the role
34 description: Mapping of service endpoint -> protocol. Typically set
35 via parameter_defaults in the resource registry.
40 description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
43 description: Partition Power to use when building Swift rings
47 description: Whether to manage Swift rings or not
52 description: How many replicas to use in the swift rings.
55 description: 'A hash of additional raw devices to use as Swift backend (eg. {sdb: {}})'
59 description: 'Use a local directory for Swift storage services when building rings'
65 type: ../../puppet/services/swift-ringbuilder.yaml
67 EndpointMap: {get_param: EndpointMap}
68 ServiceNetMap: {get_param: ServiceNetMap}
69 DefaultPasswords: {get_param: DefaultPasswords}
70 RoleName: {get_param: RoleName}
71 RoleParameters: {get_param: RoleParameters}
75 description: Role data for Swift Ringbuilder configuration in containers.
77 service_name: {get_attr: [SwiftRingbuilderBase, role_data, service_name]}
78 config_settings: {get_attr: [SwiftRingbuilderBase, role_data, config_settings]}
79 step_config: &step_config
80 get_attr: [SwiftRingbuilderBase, role_data, step_config]
81 service_config_settings: {get_attr: [SwiftRingbuilderBase, role_data, service_config_settings]}
82 # BEGIN DOCKER SETTINGS
84 config_volume: 'swift'
85 puppet_tags: exec,ring_object_device,swift::ringbuilder::create,tripleo::profile::base::swift::add_devices,swift::ringbuilder::rebalance
86 step_config: *step_config
90 - [ {get_param: DockerNamespace}, {get_param: DockerSwiftProxyImage} ]