Add DefaultPasswords 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   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   Debug:
22     default: ''
23     description: Set to True to enable debugging on all services.
24     type: string
25   SwiftMountCheck:
26     default: false
27     description: Value of mount_check in Swift account/container/object -server.conf
28     type: boolean
29
30   # DEPRECATED options for compatibility with overcloud.yaml
31   # This should be removed and manipulation of the ControllerServices list
32   # used instead, but we need client support for that first
33   ControllerEnableSwiftStorage:
34     default: true
35     description: Whether to enable Swift Storage on the Controller
36     type: boolean
37
38 parameter_groups:
39 - label: deprecated
40   description: Do not use deprecated params, they will be removed.
41   parameters:
42   - ControllerEnableSwiftStorage
43
44 outputs:
45   role_data:
46     description: Role data for the Swift Proxy role.
47     value:
48       service_name: swift_storage
49       config_settings:
50         # Swift
51         swift::storage::all::mount_check: {get_param: SwiftMountCheck}
52         tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
53         tripleo.swift_storage.firewall_rules:
54           '123 swift storage':
55             dport:
56               - 873
57               - 6000
58               - 6001
59               - 6002
60         swift::storage::all::incoming_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
61         swift::storage::all::outgoing_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
62         swift::storage::all::object_pipeline:
63           - healthcheck
64           - recon
65           - object-server
66         swift::storage::all::container_pipeline:
67           - healthcheck
68           - container-server
69         swift::storage::all::account_pipeline:
70           - healthcheck
71           - account-server
72       step_config: |
73         include ::tripleo::profile::base::swift::storage