Add Cinder v2 Keystone endpoint support

In Icehouse release, official API supported is v2 but Nova does not
support it at this time.

For now, we keep v1 endpoint for backward compatibility and let the
operator create a v2 endpoint.

Change-Id: I27264dff683c47560351235c8e398afe7c8df2f0
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Merge "Add Cinder v2 Keystone endpoint support" into stable/icehouse
move default_volume_type to cinder::api

In a previous commit, this parameter has been introduced in
cinder::backends, but it should be configured on Cinder API server.
This patch deprecated the old parameter.

Change-Id: Ic84c316dc80d8d778ce62df85a6b5bff4a18ead1
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
(cherry picked from commit eccaa59fb9635c62d108029e797388d456e8f6c2)
Merge "move default_volume_type to cinder::api" into stable/icehouse
don't create a cinder type if already it exist

Avoid Puppet warnings by checking if a volume type exist before trying
to actually create it.

Closes-bug #1319857
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>

Change-Id: Ib31db545d1d761fc6abed0a42dd7ae8e6cc0f25f
(cherry picked from commit 1569926f0faa99b9ba7e14e59fee74cb60439526)
Enable cinder server to be run in SSL mode

This commit allows one to specify ca, cert and key file
to run cinder server in SSL mode

Note: The flag use_ssl per se is not used in cinder yet,
its purpose here it to verify collateral parameters.

Change-Id: Icc373830421f2254692eb8c7baad05a13e6e1e76
(cherry picked from commit 131108aa089fdd66dcd0c46a2acf99c3d21548d7)
SSL for communication between cinder and rabbitmq

Currently, Cinder can not be configured via Puppet to communicate with
rabbitmq using SSL. Most other puppet component already have this feature.
This commit enable this feature for Cinder.

Conflicts:
	manifests/init.pp

Change-Id: I1525bb1d36d1d49c76e4b42b37ff17f0c5c98f57
(cherry picked from commit 9d081c10368ca47cf8e6ec8c7e6ed7b77fe3baaa)
Add region support for type creation/setting
Fix a typo in type_set
Switch from merge to += for array
Fix array append
Another try with arrays
Trying concat now
Add missing arg and re-add path

Path was removed by accident
Remove path setting since it breaks grep
Merge branch 'stable/icehouse'