diff options
author | Dan Prince <dprince@redhat.com> | 2016-08-24 15:26:13 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-08-25 20:27:11 -0400 |
commit | a356bb65c9f299fc706cf5e0ec9d9d441ea31046 (patch) | |
tree | 8dc137efbe68296e2afed949df61016eb347a21d /puppet/services/swift-base.yaml | |
parent | c58ed3b63e0c3bf56f58553af31afe5018f31695 (diff) |
Move Swift hiera settings into composable services
This moves the swift local bind and hash prefix settings
into the relevant swift-* composable services.
Change-Id: I807ff14c4cc9afa39efee13849e0f8c22718f1c0
Diffstat (limited to 'puppet/services/swift-base.yaml')
-rw-r--r-- | puppet/services/swift-base.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/puppet/services/swift-base.yaml b/puppet/services/swift-base.yaml new file mode 100644 index 00000000..741adb4d --- /dev/null +++ b/puppet/services/swift-base.yaml @@ -0,0 +1,33 @@ +heat_template_version: 2016-04-08 + +description: > + OpenStack Swift Proxy service configured with Puppet + +parameters: + ServiceNetMap: + default: {} + description: Mapping of service_name -> network name. Typically set + via parameter_defaults in the resource registry. This + mapping overrides those in ServiceNetMapDefaults. + type: json + DefaultPasswords: + default: {} + type: json + EndpointMap: + default: {} + description: Mapping of service endpoint -> protocol. Typically set + via parameter_defaults in the resource registry. + type: json + SwiftHashSuffix: + description: A random string to be used as a salt when hashing to determine mappings + in the ring. + hidden: true + type: string + +outputs: + role_data: + description: Role data for the Swift common swift settings. + value: + service_name: swift_base + config_settings: + swift::swift_hash_path_suffix: {get_param: SwiftHashSuffix} |