Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / swift-storage.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Swift Storage service configured with Puppet
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   Debug:
13     default: ''
14     description: Set to True to enable debugging on all services.
15     type: string
16   SwiftMountCheck:
17     default: false
18     description: Value of mount_check in Swift account/container/object -server.conf
19     type: boolean
20
21   # DEPRECATED options for compatibility with overcloud.yaml
22   # This should be removed and manipulation of the ControllerServices list
23   # used instead, but we need client support for that first
24   ControllerEnableSwiftStorage:
25     default: true
26     description: Whether to enable Swift Storage on the Controller
27     type: boolean
28
29 parameter_groups:
30 - label: deprecated
31   description: Do not use deprecated params, they will be removed.
32   parameters:
33   - ControllerEnableSwiftStorage
34
35 outputs:
36   role_data:
37     description: Role data for the Swift Proxy role.
38     value:
39       service_name: swift-storage
40       config_settings:
41         # Swift
42         swift::storage::all::mount_check: {get_param: SwiftMountCheck}
43         tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
44       step_config: |
45         include ::tripleo::profile::base::swift::storage