puppet-glance/spec/unit
yatinkarel 1365358978 Fix properties in glance_image provider for osc >= 4.0.0
Similar to I6a68505d15473b140c85a199a09d2fee45864800

Openstackclient 4.0.0 changed the way some properties are displayed
on screen.

Old:
...,"Properties"
...,"foo='bar'"

New:
...,"Properties"
...,"{u'foo': u'bar'}"
or
...,"{'foo': 'bar'}"

This is breaking idempotency on the glance_image provider, since it
does not detect them correctly. This patch aims at fixing this, by
trying to detect the new format, and using JSON parsing in that case.

Change-Id: I1829c7e59058fa72690dc08b3e2f65afcad7ea46
2019-10-09 21:48:47 +05:30
..
provider Fix properties in glance_image provider for osc >= 4.0.0 2019-10-09 21:48:47 +05:30
type Enable image import conversion & image output format 2018-12-10 13:41:53 +05:30