Fix base service type inheriting ceilometer service pcmk templates
[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   SwiftRawDisks:
30     default: {}
31     description: 'A hash of additional raw devices to use as Swift backend (eg. {sdb: {}})'
32     type: json
33
34   # DEPRECATED options for compatibility with overcloud.yaml
35   # This should be removed and manipulation of the ControllerServices list
36   # used instead, but we need client support for that first
37   ControllerEnableSwiftStorage:
38     default: true
39     description: Whether to enable Swift Storage on the Controller
40     type: boolean
41
42 parameter_groups:
43 - label: deprecated
44   description: Do not use deprecated params, they will be removed.
45   parameters:
46   - ControllerEnableSwiftStorage
47
48 outputs:
49   role_data:
50     description: Role data for the Swift Proxy role.
51     value:
52       service_name: swift_storage
53       config_settings:
54         # Swift
55         swift::storage::all::mount_check: {get_param: SwiftMountCheck}
56         tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
57         tripleo.swift_storage.firewall_rules:
58           '123 swift storage':
59             dport:
60               - 873
61               - 6000
62               - 6001
63               - 6002
64         swift::storage::all::incoming_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
65         swift::storage::all::outgoing_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
66         swift::storage::all::object_pipeline:
67           - healthcheck
68           - recon
69           - object-server
70         swift::storage::all::container_pipeline:
71           - healthcheck
72           - container-server
73         swift::storage::all::account_pipeline:
74           - healthcheck
75           - account-server
76         swift::storage::disks: {get_param: SwiftRawDisks}
77       step_config: |
78         include ::tripleo::profile::base::swift::storage