generate_config.py: Fix running without eyaml 03/48603/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 9 Dec 2017 00:10:32 +0000 (01:10 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 9 Dec 2017 00:10:32 +0000 (01:10 +0100)
commit2db1004f456f4ed956246bc85049a69b39e8cab2
treec7e7bc500a3540ceec620be331d3ecb5127ea7b5
parentf1bbaf60dec3f1f1c1958a7711e432594d671af9
generate_config.py: Fix running without eyaml

If eyaml is not installed or misconfigured, we should output raw
encrypted data and throw a warn/error accordingly, instead of
bailing out completely.

Needed for Fuel deploys on PODs that do not use PDF encryption, e.g.
lf-pod2.

Change-Id: I2905df11a3cf2f2eb1ab9bfd8bd88619af2cab04
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
config/utils/generate_config.py