Merge "Add defaults for docker puppet tasks"
[apex-tripleo-heat-templates.git] / puppet / services / external-swift-proxy.yaml
1 heat_template_version: ocata
2
3 description: >
4   External Swift Proxy endpoint configured with Puppet
5
6 parameters:
7   ExternalPublicUrl:
8     description: Public endpoint url for the external swift proxy
9     type: string
10   ExternalInternalUrl:
11     description: Internal endpoint url for the external swift proxy
12     type: string
13   ExternalAdminUrl:
14     description: External endpoint url for the external swift proxy
15     type: string
16   ExternalSwiftUserTenant:
17     description: Tenant where swift user will be set as admin
18     type: string
19     default: 'service'
20   SwiftPassword:
21     description: The password for the swift service account, used by the swift proxy services.
22     type: string
23     hidden: true
24   KeystoneRegion:
25     type: string
26     default: 'regionOne'
27     description: Keystone region for endpoint
28   ServiceNetMap:
29     default: {}
30     description: Mapping of service_name -> network name. Typically set
31                  via parameter_defaults in the resource registry.  This
32                  mapping overrides those in ServiceNetMapDefaults.
33     type: json
34   DefaultPasswords:
35     default: {}
36     type: json
37   EndpointMap:
38     default: {}
39     description: Mapping of service endpoint -> protocol. Typically set
40                  via parameter_defaults in the resource registry.
41     type: json
42
43 resources:
44
45 outputs:
46   role_data:
47     description: Role data for External Swift proxy.
48     value:
49       service_name: external_swift_proxy
50       config_settings:
51
52       step_config:
53
54       service_config_settings:
55         keystone:
56           swift::keystone::auth::public_url: {get_param: ExternalPublicUrl}
57           swift::keystone::auth::internal_url: {get_param: ExternalInternalUrl}
58           swift::keystone::auth::admin_url: {get_param: ExternalAdminUrl}
59           swift::keystone::auth::public_url_s3: ''
60           swift::keystone::auth::internal_url_s3: ''
61           swift::keystone::auth::admin_url_s3: ''
62           swift::keystone::auth::password: {get_param: SwiftPassword}
63           swift::keystone::auth::region: {get_param: KeystoneRegion}
64           swift::keystone::auth::tenant: {get_param: ExternalSwiftUserTenant}
65           swift::keystone::auth::configure_s3_endpoint: false
66           swift::keystone::auth::operator_roles:
67             - admin
68             - swiftoperator
69             - ResellerAdmin
70