1 heat_template_version: 2016-04-08
4 OpenStack Swift Storage 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.
27 description: Value of mount_check in Swift account/container/object -server.conf
31 description: 'A hash of additional raw devices to use as Swift backend (eg. {sdb: {}})'
33 MonitoringSubscriptionSwiftStorage:
34 default: 'overcloud-swift-storage'
37 # DEPRECATED options for compatibility with overcloud.yaml
38 # This should be removed and manipulation of the ControllerServices list
39 # used instead, but we need client support for that first
40 ControllerEnableSwiftStorage:
42 description: Whether to enable Swift Storage on the Controller
47 description: Do not use deprecated params, they will be removed.
49 - ControllerEnableSwiftStorage
53 type: ./swift-base.yaml
55 ServiceNetMap: {get_param: ServiceNetMap}
56 DefaultPasswords: {get_param: DefaultPasswords}
57 EndpointMap: {get_param: EndpointMap}
61 description: Role data for the Swift Proxy role.
63 service_name: swift_storage
64 monitoring_subscription: {get_param: MonitoringSubscriptionSwiftStorage}
67 - get_attr: [SwiftBase, role_data, config_settings]
68 - swift::storage::all::mount_check: {get_param: SwiftMountCheck}
69 tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
70 tripleo.swift_storage.firewall_rules:
77 swift::storage::all::incoming_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
78 swift::storage::all::outgoing_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
79 swift::storage::all::object_pipeline:
83 swift::storage::all::container_pipeline:
86 swift::storage::all::account_pipeline:
89 swift::storage::disks: {get_param: SwiftRawDisks}
90 swift::storage::all::storage_local_net_ip: {get_param: [ServiceNetMap, SwiftMgmtNetwork]}
92 include ::tripleo::profile::base::swift::storage