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)
Merge remote-tracking branch 'upstream/stable/icehouse' into icehouse

Conflicts:
	manifests/api.pp