diff options
author | Feng Pan <fpan@redhat.com> | 2017-07-31 15:05:28 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-07-31 20:55:17 -0400 |
commit | 8e0fd5033c0897a11abb5d9948b5ad77bdccacfa (patch) | |
tree | 014cd2806663729720b37a65e7de74c21370c8f9 /manifests | |
parent | 8131692770530c9a7687718e7620fc4fb583b935 (diff) |
nosdn-fdio scenario fixes
- Add vpp_physnet_mappings function
- Change etcd deployment model
Change-Id: Ie336c22b366bd478963ca14e25d645fec0cded7a
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/profile/base/etcd.pp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/manifests/profile/base/etcd.pp b/manifests/profile/base/etcd.pp index 505e29f..c29c937 100644 --- a/manifests/profile/base/etcd.pp +++ b/manifests/profile/base/etcd.pp @@ -46,20 +46,13 @@ class tripleo::profile::base::etcd ( $nodes = hiera('etcd_node_names', []), $step = hiera('step'), ) { - if $step >= 1 { - if count($nodes) > 1 { - $cluster_enabled = true - } else { - $cluster_enabled = false - } - + if $step >= 2 { class {'::etcd': listen_client_urls => "http://${bind_ip}:${client_port}", advertise_client_urls => "http://${bind_ip}:${client_port}", listen_peer_urls => "http://${bind_ip}:${peer_port}", initial_advertise_peer_urls => "http://${bind_ip}:${peer_port}", initial_cluster => regsubst($nodes, '.+', "\\0=http://\\0:${peer_port}"), - cluster_enabled => $cluster_enabled, proxy => 'off', } } |