aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/swift-storage.yaml
blob: 02746a95998461fae0b8df555e8c6173dbd3c12b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
heat_template_version: 2016-04-08

description: >
  OpenStack Swift Storage service configured with Puppet

parameters:
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  Debug:
    default: ''
    description: Set to True to enable debugging on all services.
    type: string
  SwiftMountCheck:
    default: false
    description: Value of mount_check in Swift account/container/object -server.conf
    type: boolean

  # DEPRECATED options for compatibility with overcloud.yaml
  # This should be removed and manipulation of the ControllerServices list
  # used instead, but we need client support for that first
  ControllerEnableSwiftStorage:
    default: true
    description: Whether to enable Swift Storage on the Controller
    type: boolean

parameter_groups:
- label: deprecated
  description: Do not use deprecated params, they will be removed.
  parameters:
  - ControllerEnableSwiftStorage

outputs:
  role_data:
    description: Role data for the Swift Proxy role.
    value:
      service_name: swift-storage
      config_settings:
        # Swift
        swift::storage::all::mount_check: {get_param: SwiftMountCheck}
        tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
      step_config: |
        include ::tripleo::profile::base::swift::storage