puppet-nova/lib
Emilien Macchi edcd126dab Fix properties in nova_aggregate 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 nova_aggregate 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.

Closes-Bug: #1845616
Depends-On: https://review.opendev.org/#/c/685537/
Change-Id: I7e8fef9fdb913e53fa459ce09577f574fd059a13
2019-09-30 15:18:32 -04:00
..
facter novajoin: Optionally configure kerberos 2018-03-13 20:31:41 +02:00
puppet Fix properties in nova_aggregate provider for osc >= 4.0.0 2019-09-30 15:18:32 -04:00