diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-08-02 12:33:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-02 12:33:47 -0400 |
commit | ee9413cebdb8a7c5ff03a5da767b1c74742bc898 (patch) | |
tree | e629c528cc1089a64cb2bb6f3f5466a355a11b41 /roles/etcd/templates | |
parent | af6025be5c26e505e2577f84528d7bcf78f046e2 (diff) | |
parent | dbb140a649a5540102e3af1d74cbacdd12f1d04a (diff) | |
download | openshift-ee9413cebdb8a7c5ff03a5da767b1c74742bc898.tar.gz openshift-ee9413cebdb8a7c5ff03a5da767b1c74742bc898.tar.bz2 openshift-ee9413cebdb8a7c5ff03a5da767b1c74742bc898.tar.xz openshift-ee9413cebdb8a7c5ff03a5da767b1c74742bc898.zip |
Merge pull request #1953 from abutcher/etcd-certificates
Refactor etcd certificates roles.
Diffstat (limited to 'roles/etcd/templates')
-rw-r--r-- | roles/etcd/templates/etcd.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/etcd/templates/etcd.conf.j2 b/roles/etcd/templates/etcd.conf.j2 index cd048ec60..7ccf78212 100644 --- a/roles/etcd/templates/etcd.conf.j2 +++ b/roles/etcd/templates/etcd.conf.j2 @@ -1,5 +1,5 @@ {% macro initial_cluster() -%} -{% for host in etcd_peers -%} +{% for host in etcd_peers | default([]) -%} {% if loop.last -%} {{ hostvars[host].etcd_hostname }}={{ etcd_peer_url_scheme }}://{{ hostvars[host].etcd_ip }}:{{ etcd_peer_port }} {%- else -%} |