Add 'service_name' to composable services
[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   SwiftProxyNodeTimeout:
21     default: 60
22     description: Timeout for requests going from swift-proxy to swift a/c/o services.
23     type: number
24   SwiftWorkers:
25     default: 0
26     description: Number of workers for Swift service.
27     type: number
28   KeystoneRegion:
29     type: string
30     default: 'regionOne'
31     description: Keystone region for endpoint
32
33
34 outputs:
35   role_data:
36     description: Role data for the Swift proxy service.
37     value:
38       service_name: swift-proxy
39       config_settings:
40         # Swift
41         swift::proxy::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
42         swift::proxy::authtoken::identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
43         swift::proxy::authtoken::admin_password: {get_param: SwiftPassword}
44         swift::proxy::node_timeout: {get_param: SwiftProxyNodeTimeout}
45         swift::proxy::workers: {get_param: SwiftWorkers}
46         swift::keystone::auth::public_url: {get_param: [EndpointMap, SwiftPublic, uri]}
47         swift::keystone::auth::internal_url: {get_param: [EndpointMap, SwiftInternal, uri]}
48         swift::keystone::auth::admin_url: {get_param: [EndpointMap, SwiftAdmin, uri]}
49         swift::keystone::auth::public_url_s3: {get_param: [EndpointMap, SwiftS3Public, uri]}
50         swift::keystone::auth::internal_url_s3: {get_param: [EndpointMap, SwiftS3Internal, uri]}
51         swift::keystone::auth::admin_url_s3: {get_param: [EndpointMap, SwiftS3Admin, uri]}
52         swift::keystone::auth::password: {get_param: SwiftPassword}
53         swift::keystone::auth::region: {get_param: KeystoneRegion}
54       step_config: |
55         include ::tripleo::profile::base::swift::proxy