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
cinder-type: delete PATH in exec

By deleting PATH, we are able to run both commands (cinder type-* and
grep) without environment issue.

Change-Id: I5dd1c60892c7848b02ab71ea30bc49b4b4c26029
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Implement rspec function it_raises

On some puppet modules, a it_raises helper is provided. This commit
implements it for puppet-cinder.

Change-Id: I8135480f821a17fd88e5cb088efc2f6fe78b1c48
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.

Change-Id: I1525bb1d36d1d49c76e4b42b37ff17f0c5c98f57