Make defaults from roles_data.yaml more robust
authorSteven Hardy <shardy@redhat.com>
Wed, 21 Sep 2016 10:10:47 +0000 (11:10 +0100)
committerSteven Hardy <shardy@redhat.com>
Wed, 21 Sep 2016 11:42:31 +0000 (12:42 +0100)
commit1e723337029b8ea77f12dd2d75a4a426570f1c63
tree15a8f80c13cb8efdc50fa8cadc0c0b93b3f448ec
parentb40f1dc8c1d58e08092391d01ecb73682ab0abb6
Make defaults from roles_data.yaml more robust

The previous logic left out the default Count completely when it was
zero, which breaks nested validation and it's likely similar problems
would exist with the other optional defaults, so rework it so the
defaulting happens in the jinja2 logic, and document the interfaces
better in roles_data.yaml

Change-Id: I7f2eb4a3a0b43c5d2cd0d001ed3c73f783c95c74
Closes-Bug: #1625760
overcloud.j2.yaml
roles_data.yaml