tripleo-heat-templates/releasenotes/notes/fix-get-occ-config-with-role-count-greater-1-10ce2010556e5b76.yaml
James Slagle 154879b68d get-occ-config.sh: fix handling multiple nodes in a role
When using get-occ-config.sh with a role with a count greater
than 1, the script will now configure all nodes that are of that role
type instead of exiting after only configuring the first.

Previously, the expression ((i++)) evaluated to 0, and when using
arithmetic expansion, causes a rc of 1, which caused the script to exit
after configuring the first node.

Change-Id: I0a39f2b8f1de5302fd426999acfe5043b0361987
Closes-Bug: #1759581
2018-03-29 12:20:06 +00:00

6 lines
214 B
YAML

---
fixes:
- When using get-occ-config.sh with a role using a count greater than 1, the
script will now configure all nodes that are of that role type instead of
exiting after only configuring the first.