Skip to content

Commit 707863b

Browse files
authored
Merge pull request #120 from deric/etcd_cluster_list
Make etcd initial_cluster unique list
2 parents b6fca9f + 67bb8c2 commit 707863b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: manifests/server/etcd/setup.pp

+3-3
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@
182182
$_peer_client_cert_auth = $peer_client_cert_auth
183183
}
184184

185-
$_initial_cluster = [
186-
"${etcd_name}=${initial_advertise_peer_urls[0]}"
187-
] + $initial_cluster
185+
$_initial_cluster = ([
186+
"${etcd_name}=${initial_advertise_peer_urls[0]}"
187+
] + $initial_cluster).unique
188188

189189
file {
190190
default:

0 commit comments

Comments
 (0)