Convert service_name to underscore syntax
[apex-tripleo-heat-templates.git] / puppet / services / swift-ringbuilder.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Swift Ringbuilder
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   SwiftMinPartHours:
13     type: number
14     default: 1
15     description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
16   SwiftPartPower:
17     default: 10
18     description: Partition Power to use when building Swift rings
19     type: number
20   SwiftRingBuild:
21     default: true
22     description: Whether to manage Swift rings or not
23     type: boolean
24   SwiftReplicas:
25     type: number
26     default: 3
27     description: How many replicas to use in the swift rings.
28
29 outputs:
30   role_data:
31     description: Role data for Swift Ringbuilder configuration.
32     value:
33       service_name: swift_ringbuilder
34       config_settings:
35         tripleo::profile::base::swift::ringbuilder::build_ring: {get_param: SwiftRingBuild}
36         tripleo::profile::base::swift::ringbuilder::replicas: {get_param: SwiftReplicas}
37         swift::ringbuilder::part_power: {get_param: SwiftPartPower}
38         swift::ringbuilder::min_part_hours: {get_param: SwiftMinPartHours}
39       step_config: |
40         include ::tripleo::profile::base::swift::ringbuilder