Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
enable logging to stdout and log file
[yaml_builds.git]
/
templates
/
baremetal
/
promjoin.j2
diff --git
a/templates/baremetal/promjoin.j2
b/templates/baremetal/promjoin.j2
index
c28363d
..
d16b48e
100644
(file)
--- a/
templates/baremetal/promjoin.j2
+++ b/
templates/baremetal/promjoin.j2
@@
-35,9
+35,9
@@
data:
{% for server in yaml.masters %}
- '{{server.name}}'
{% endfor %}
{% for server in yaml.masters %}
- '{{server.name}}'
{% endfor %}
-{% for server in yaml.workers %}
+{%
if 'workers' in yaml %}{%
for server in yaml.workers %}
- '{{server.name}}'
- '{{server.name}}'
-{% endfor %}
+{% endfor %}
{% endif %}
{% raw %} # TODO(alanmeadows) move what is global about this document - everything except nodenames to global
assets:
- path: /opt/promjoin.sh
{% raw %} # TODO(alanmeadows) move what is global about this document - everything except nodenames to global
assets:
- path: /opt/promjoin.sh