James Slagle 74bd9d8a6b Allow exit code of 0 only for deployments
All the hook scripts record 0 for success and non-zero for failure.

hook-puppet.py already handles a successful return code of 0 or 2 for
puppet and always writes a 0 as the return code to indicate success to
the json status file[1].

[1] https://github.com/openstack/heat-templates/blob/master/hot/software-config/elements/heat-config-puppet/install.d/hook-puppet.py#L161

Change-Id: I7c6c5e6395dbcf049072ecb1228fc10f83f1db7f
2018-04-17 07:59:47 -04:00
..