1 heat_template_version: ocata
4 OpenStack Swift Proxy service configured with Puppet
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.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: Set to True to enable debugging on all services.
26 description: The password for the swift service account, used by the swift proxy services.
29 SwiftProxyNodeTimeout:
31 description: Timeout for requests going from swift-proxy to swift a/c/o services.
35 description: Number of workers for Swift service.
40 description: Keystone region for endpoint
41 MonitoringSubscriptionSwiftProxy:
42 default: 'overcloud-swift-proxy'
45 description: The password for RabbitMQ
50 description: The username for RabbitMQ
52 SwiftCeilometerPipelineEnabled:
53 description: Set to False to disable the swift proxy ceilometer pipeline.
58 description: Set rabbit subscriber port, change this if using SSL
63 ceilometer_pipeline_enabled: {equals : [{get_param: SwiftCeilometerPipelineEnabled}, True]}
67 type: ./swift-base.yaml
69 ServiceNetMap: {get_param: ServiceNetMap}
70 DefaultPasswords: {get_param: DefaultPasswords}
71 EndpointMap: {get_param: EndpointMap}
75 description: Role data for the Swift proxy service.
77 service_name: swift_proxy
78 monitoring_subscription: {get_param: MonitoringSubscriptionSwiftProxy}
81 - get_attr: [SwiftBase, role_data, config_settings]
83 - swift::proxy::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
84 swift::proxy::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
85 swift::proxy::authtoken::password: {get_param: SwiftPassword}
86 swift::proxy::authtoken::project_name: 'service'
87 swift::proxy::node_timeout: {get_param: SwiftProxyNodeTimeout}
88 swift::proxy::workers: {get_param: SwiftWorkers}
89 swift::proxy::ceilometer::rabbit_user: {get_param: RabbitUserName}
90 swift::proxy::ceilometer::rabbit_password: {get_param: RabbitPassword}
91 swift::proxy::staticweb::url_base: {get_param: [EndpointMap, SwiftPublic, uri_no_suffix]}
92 swift::proxy::ceilometer::nonblocking_notify: true
93 tripleo::profile::base::swift::proxy::rabbit_port: {get_param: RabbitClientPort}
94 tripleo::profile::base::swift::proxy::ceilometer_enabled: {get_param: SwiftCeilometerPipelineEnabled}
95 tripleo.swift_proxy.firewall_rules:
100 swift::proxy::keystone::operator_roles:
104 swift::proxy::versioned_writes::allow_versioned_writes: true
105 swift::proxy::pipeline:
107 expression: $.data.pipeline.where($ != '')
129 - ceilometer_pipeline_enabled
134 swift::proxy::account_autocreate: true
135 # NOTE: bind IP is found in Heat replacing the network name with the
136 # local node IP for the given network; replacement examples
137 # (eg. for internal_api):
139 # internal_api_uri -> [IP]
140 # internal_api_subnet - > IP/CIDR
141 swift::proxy::proxy_local_net_ip: {get_param: [ServiceNetMap, SwiftProxyNetwork]}
143 include ::tripleo::profile::base::swift::proxy
144 service_config_settings:
146 swift::keystone::auth::public_url: {get_param: [EndpointMap, SwiftPublic, uri]}
147 swift::keystone::auth::internal_url: {get_param: [EndpointMap, SwiftInternal, uri]}
148 swift::keystone::auth::admin_url: {get_param: [EndpointMap, SwiftAdmin, uri]}
149 swift::keystone::auth::public_url_s3: {get_param: [EndpointMap, SwiftS3Public, uri]}
150 swift::keystone::auth::internal_url_s3: {get_param: [EndpointMap, SwiftS3Internal, uri]}
151 swift::keystone::auth::admin_url_s3: {get_param: [EndpointMap, SwiftS3Admin, uri]}
152 swift::keystone::auth::password: {get_param: SwiftPassword}
153 swift::keystone::auth::region: {get_param: KeystoneRegion}
154 swift::keystone::auth::tenant: 'service'
155 swift::keystone::auth::configure_s3_endpoint: false
156 swift::keystone::auth::operator_roles: