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