1 heat_template_version: 2016-04-08
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
55 type: ./swift-base.yaml
57 ServiceNetMap: {get_param: ServiceNetMap}
58 DefaultPasswords: {get_param: DefaultPasswords}
59 EndpointMap: {get_param: EndpointMap}
63 description: Role data for the Swift proxy service.
65 service_name: swift_proxy
66 monitoring_subscription: {get_param: MonitoringSubscriptionSwiftProxy}
69 - get_attr: [SwiftBase, role_data, config_settings]
71 - swift::proxy::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
72 swift::proxy::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
73 swift::proxy::authtoken::password: {get_param: SwiftPassword}
74 swift::proxy::authtoken::project_name: 'service'
75 swift::proxy::node_timeout: {get_param: SwiftProxyNodeTimeout}
76 swift::proxy::workers: {get_param: SwiftWorkers}
77 swift::proxy::ceilometer::rabbit_user: {get_param: RabbitUserName}
78 swift::proxy::ceilometer::rabbit_password: {get_param: RabbitPassword}
79 swift::proxy::staticweb::url_base: {get_param: [EndpointMap, SwiftPublic, uri_no_suffix]}
80 swift::proxy::ceilometer::nonblocking_notify: true
81 tripleo.swift_proxy.firewall_rules:
86 swift::proxy::keystone::operator_roles:
90 swift::proxy::versioned_writes::allow_versioned_writes: true
91 swift::proxy::pipeline:
112 swift::proxy::account_autocreate: true
113 # NOTE: bind IP is found in Heat replacing the network name with the
114 # local node IP for the given network; replacement examples
115 # (eg. for internal_api):
117 # internal_api_uri -> [IP]
118 # internal_api_subnet - > IP/CIDR
119 swift::proxy::proxy_local_net_ip: {get_param: [ServiceNetMap, SwiftProxyNetwork]}
121 include ::tripleo::profile::base::swift::proxy
122 service_config_settings:
124 swift::keystone::auth::public_url: {get_param: [EndpointMap, SwiftPublic, uri]}
125 swift::keystone::auth::internal_url: {get_param: [EndpointMap, SwiftInternal, uri]}
126 swift::keystone::auth::admin_url: {get_param: [EndpointMap, SwiftAdmin, uri]}
127 swift::keystone::auth::public_url_s3: {get_param: [EndpointMap, SwiftS3Public, uri]}
128 swift::keystone::auth::internal_url_s3: {get_param: [EndpointMap, SwiftS3Internal, uri]}
129 swift::keystone::auth::admin_url_s3: {get_param: [EndpointMap, SwiftS3Admin, uri]}
130 swift::keystone::auth::password: {get_param: SwiftPassword}
131 swift::keystone::auth::region: {get_param: KeystoneRegion}
132 swift::keystone::auth::tenant: 'service'
133 swift::keystone::auth::configure_s3_endpoint: false
134 swift::keystone::auth::operator_roles: