Merge "Add network ExtraConfig hook"
[apex-tripleo-heat-templates.git] / puppet / services / swift-proxy.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Swift Proxy 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   SwiftPassword:
17     description: The password for the swift service account, used by the swift proxy services.
18     type: string
19     hidden: true
20   SwiftWorkers:
21     default: 0
22     description: Number of workers for Swift service.
23     type: number
24   KeystoneRegion:
25     type: string
26     default: 'regionOne'
27     description: Keystone region for endpoint
28
29
30 outputs:
31   role_data:
32     description: Role data for the Swift proxy service.
33     value:
34       config_settings:
35         # Swift
36         swift::proxy::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
37         swift::proxy::authtoken::identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
38         swift::proxy::authtoken::admin_password: {get_param: SwiftPassword}
39         swift::proxy::workers: {get_param: SwiftWorkers}
40         swift::keystone::auth::public_url: {get_param: [EndpointMap, SwiftPublic, uri]}
41         swift::keystone::auth::internal_url: {get_param: [EndpointMap, SwiftInternal, uri]}
42         swift::keystone::auth::admin_url: {get_param: [EndpointMap, SwiftAdmin, uri]}
43         swift::keystone::auth::public_url_s3: {get_param: [EndpointMap, SwiftS3Public, uri]}
44         swift::keystone::auth::internal_url_s3: {get_param: [EndpointMap, SwiftS3Internal, uri]}
45         swift::keystone::auth::admin_url_s3: {get_param: [EndpointMap, SwiftS3Admin, uri]}
46         swift::keystone::auth::password: {get_param: SwiftPassword}
47         swift::keystone::auth::region: {get_param: KeystoneRegion}
48       step_config: |
49         include ::tripleo::profile::base::swift::proxy