diff options
author | Dan Prince <dprince@redhat.com> | 2016-07-19 16:08:22 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-07-22 07:29:39 -0400 |
commit | 6b30ff11d4e2eafda7a3ab693055c687d4a8da5d (patch) | |
tree | 95fe86548b0ff98e566c76b095e416bfefdf02f4 /puppet/swift-storage.yaml | |
parent | 60b83ae436cbe61514405602cd9eeb5da5ed56e1 (diff) |
Add 'service_name' to composable services
This patch adds a new service_name section to each composable
service. We now have an explicit unit test check to ensure that
service_name exists in tools/yaml-validate.py.
This patch also wires service_names into hieradata on each
of the roles so that tools can access the deployed services locally
during deployment and upgrades.
Change-Id: I60861c5aa760534db3e314bba16a13b90ea72f0c
Diffstat (limited to 'puppet/swift-storage.yaml')
-rw-r--r-- | puppet/swift-storage.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/swift-storage.yaml b/puppet/swift-storage.yaml index 9d049bd3..7b41c72b 100644 --- a/puppet/swift-storage.yaml +++ b/puppet/swift-storage.yaml @@ -112,6 +112,9 @@ parameters: ServiceConfigSettings: type: json default: {} + ServiceNames: + type: comma_delimited_list + default: [] ConfigCommand: type: string description: Command which will be run whenever configuration data changes @@ -255,6 +258,7 @@ resources: - heat_config_%{::deploy_config_name} - object_extraconfig - extraconfig + - service_names - service_configs - object - swift_devices_and_proxy # provided by SwiftDevicesAndProxyConfig @@ -264,6 +268,9 @@ resources: - network merge_behavior: deeper datafiles: + service_names: + mapped_data: + service_names: {get_param: ServiceNames} service_configs: mapped_data: {get_param: ServiceConfigSettings} common: |