heat-templates/hot/software-config/elements/heat-config-docker-cmd/os-refresh-config/configure.d
Steve Baker d10069ac13 docker-cmd hook handle empty config file
Early in a server boot the file /var/run/heat-config/heat-config may
exist but be empty. This causes a stack trace to be raised in this
script.

This change detects a json parse error and exits gracefully.

Change-Id: I29d731098659bfbf10a2caf80c2cfc49de5df4cc
Closes-Bug: #1648249
2016-12-13 09:57:52 +13:00
..
50-heat-config-docker-cmd docker-cmd hook handle empty config file 2016-12-13 09:57:52 +13:00