puppet-nova/spec/unit/provider
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
..
nova_aggregate Fix properties in nova_aggregate provider for osc >= 4.0.0 2019-09-30 15:18:32 -04:00
nova_config Trivial-Fix: fix typos 2018-04-18 16:50:41 +05:30
nova_flavor Add nova flavor provider 2016-05-04 09:06:00 -06:00
nova_floating Floating IP range support in Nova network 2015-11-18 13:35:23 +02:00
nova_security_group Switch nova_security_group to openstack provider 2017-07-26 11:49:23 -04:00
nova_security_rule Change to use non-deprecated security group rule syntax 2019-05-16 10:51:27 -04:00
nova_service Replace port 35357 with 5000 2018-05-29 10:15:46 -04:00
novajoin_config Add novajoin class 2017-01-06 12:12:16 -05:00
nova_spec.rb Change keystone v2.0 to v3 2019-02-24 13:44:53 +01:00