Change mysql default charset to utf8

Changed the default charset to uf8 and the
collation to utf8_unicode_ci.

Change-Id: I58798cf111d00a28f6b099efd481700b68aa54b5
Introduce cinder:config to manage custom options

This cinder::config is aim to use cinder config resources
to manage custom configurations in cinder config files.

This will make end user easy to add their own custom options
in Hiera data.

Fully implements blueprint cinder-custom-config

Change-Id: I58faf3f4c76b2eb2077552036a239b60103ee965
RBD backend: use ensure_resource

In the case we want to declare more than one backend using RBD driver,
we have a resource dupplication which could be fixed by using stlib
functions.

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

Change-Id: I1783540cd8218e8bafb4d0b860ca4c5992f35a19
Merge "RBD backend: use ensure_resource"
Add support for volumes backed by Dell EqualLogic

This change set adds support for using Dell EqualLogic arrays
as a backend for Cinder.

Change-Id: I137d2f71a9fc69c0082fdad5cd5100eb232dfdd7
Use lioadm as iscsi helper on RHEL 7

On RHEL 7 it is necessary to use lioadm as iscsi_helper. This patch handles
proper configuration and appropriate package installation.

Change-Id: Ic3a41015c95f0b5f394d0c4b58dfc0eb10d5037d
fix deprecated sql_connection, idle_timeout

DEFAULT/sql_connection is replaced by database/connection
DEFAULT/sql_idle_timeout is replaced by database/idle_timeout

deprecated params are handled by warning like other modules

Change-Id: I1b8e61ac452b69fb611254562d1a42c2732c3c8e
4.0.0 - 2014.1.0 - Icehouse Release

Updated Modulefile and README.md for 4.0.0 release.

Change-Id: If2b460aa971fb29b426298d8b70ab2099690059d
require mysql binding for mysql db only

the requirement for the mysql module was introduces
with Change-Id: Ie0011102d9f4dfcd50f24afcb73072090c914011

If you do not use mysql (eg. because you prefer postgres),
the module is not usable without this patch.
The implementation is similar to puppet-keystone.

Change-Id: I42b7f75fe103d4e64d8991bcc9c8a20aef8f353d
fix: use $database_connection_real

deprecation of $sql_connection introduced
$database_connection_real which should be
used instead of using $database_connection
directly.

Change-Id: Ic630d346c0bca8f8fb07cf1263d5e345423316e3
Merge "Use lioadm as iscsi helper on RHEL 7"
Merge "Add support for volumes backed by Dell EqualLogic"
Merge "4.0.0 - 2014.1.0 - Icehouse Release"
Update puppetlabs-rabbitmq dependency

Cinder can now use puppetlabs-rabbitmq < 4. Updated the dependency
to reflect this change.

Change-Id: I3ee14ae7b3535ce2e58dc05594fc141bd013daa1
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>
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>
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