diff options
author | Michele Baldessari <michele@acksyn.org> | 2016-12-19 14:27:51 +0100 |
---|---|---|
committer | Michele Baldessari <michele@acksyn.org> | 2016-12-21 11:52:57 +0100 |
commit | 8d796ea0e4afd69f9776d07f491b1a0d83e34128 (patch) | |
tree | 556ebd554e695d03efc02c914d4fb03001c6fa50 /puppet | |
parent | b9cab21630a79d57594a7b5cedf28439df794047 (diff) |
Add a per service bootstrap node variable
In order to call commands that need to be run on a single node, we
create a new per-service variable that will contain the first node of
each role containing the service.
Change-Id: I03e8685f939e8ae1fcd8b16883b559615042505d
Partial-Bug: #1615983
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/all-nodes-config.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/all-nodes-config.yaml b/puppet/all-nodes-config.yaml index 0a8bec6e..5f56fe28 100644 --- a/puppet/all-nodes-config.yaml +++ b/puppet/all-nodes-config.yaml @@ -28,6 +28,8 @@ parameters: type: json short_service_node_names: type: json + short_service_bootstrap_node: + type: json controller_names: type: comma_delimited_list memcache_node_ips: @@ -125,6 +127,7 @@ resources: - {get_param: service_ips} - {get_param: service_node_names} - {get_param: short_service_node_names} + - {get_param: short_service_bootstrap_node} - controller_node_ips: list_join: - ',' |