puppet-cinder/lib/puppet
Javier Pena 5821ade2cf Fix properties in cinder_type provider for osc >= 4.0.0
Openstackclient 4.0.0 changed the way some properties are displayed
on screen.

Old:
...,"Properties"
...,"volume_backend_name='BACKEND_1'"

New:
...,"Properties"
...,"{u'volume_backend_name': u'BACKEND_1'}"
or
...,"{'volume_backend_name': 'BACKEND_1'}"

This is breaking idempotency on the cinder_type 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: I6a68505d15473b140c85a199a09d2fee45864800
2019-09-19 13:00:14 +02:00
..
provider Fix properties in cinder_type provider for osc >= 4.0.0 2019-09-19 13:00:14 +02:00
type Merge "Cinder-type param is_public/access_project_ids" 2019-01-03 02:31:00 +00:00