Add support for Rabbit Clustering using a single IP address.

Previsouly, you could only cluster Rabbit Brokers
if you specified multiple rabbit_hosts.

This patch removes the requirement to have multiple Rabbit host addresses.
You can now front-end the Rabbit Brokers using a load-balancer to
use Rabbit Mirrored Queues (rabbit_ha_queues).

OpenStack services will connect to a single, Virtual IP address
for high-availability and scalability purposes.

Defaults to false for backwards compatability and to not
implement rabbit_ha_queues.

Change-Id: Ibb1f0082f8c0dce85e75248bead582b8988d113b
Merge "Add support for Rabbit Clustering using a single IP address."
added ceph backend support

Change-Id: Ia56a76e2bdc22cf2c3163bc8393f7ca53e3289c9
Add support for SQL idle timeout.

Previously, cinder logged frequent
database-has-gone-away errors.

This patch adds a parameter that can configure
the sql_idle_timeout which can be increased
to reduce these errors.

More information on this issue can be found here:
  https://bugs.launchpad.net/nova/+bug/1007027 for more details.

Also cleans-up inline Puppet documentation.

Change-Id: I1479844a88ab9047e78c5060231c500f38b38720
Merge "Add support for SQL idle timeout."
Use Puppet boolean for better consistency

This fixes puppet-lint warning "quoted boolean value".

Change-Id: I8d2d2e63bcda171ba7c9af5b229e5ccc0b11f970
Various Puppet lint fixes

* Fixes following warnings:
    * double quoted string containing no variables
    * string containing only a variable
    * variable not enclosed in {}
    * indentation of => is not properly aligned
* Fix following error:
    * two-space soft tabs not used
* Remove some comments from the code, they added no value.

Change-Id: I3165e65e95c3565951077786d2edf77245460c35
Fix cinder::rabbitmq rspec tests

$::osfamily fact is now required by puppetlabs-rabbitmq.

Change-Id: I87693a2d767e6b319489eaa76fbf85fdc86c951a
Add support for NetApp direct drivers

netapp_wsdl_url is only valid for the regular drivers.
netapp_storage_service is optional for all NetApp drivers.
See here for example:
http://docs.openstack.org/grizzly/openstack-block-storage/admin/content/netapp-iscsi-driver-direct-7mode.html

Change-Id: I8c6cd9d63b3e6da683bf210f1b4db7bd7fd3d315
Remove Unnecessary mysql::server Dependency

Previously, the db::mysql class required mysql::server.  This is
unnecessary since the mysql::db define requires the mysql::config
class for db creattion.  Additionally, this prevents users from
using a different class such as galera::server to manage
the database.

Change-Id: I9216891e6ec29a8429aad1bb73b7f4fe7f22b2c1
Update revision for rabbitmq

This commit updates the revision of rabbitmq to install for testing.

This revision was chosen for two reasons:

- later revisions remove the rabbitmq::server class
- later revisions do not support installing from your local distro (which
means you will likely get a version not tested with openstack)

Change-Id: Ic3fe0e672a84978b01bc7c9014dd701ecf2b0bde
Merge "Update revision for rabbitmq"
Merge "Remove Unnecessary mysql::server Dependency"
Merge "Add support for NetApp direct drivers"
Pin rabbit and mysql to major version for fixtures

Previously, unit tests were using master for testing.

This commit changes them to use the newly created major version
branches. This allows us to backport bug fixes while we wait for
upstream to stabilize.

Change-Id: Ic10d47d09f816fff4195ed07121d1972581f1f47
Add ability to configure Cinder quotas

Change-Id: I8aef9aeadb55fb7a9c104462c4060e0ebaf8182a
Update allowed_hosts conditional statement

In the origin cinder::db::mysql, if the value of $allowed_hosts
contains or equals to $host, then puppet will complain duplicate
declaration error. This patch is aim to update the allowed_hosts
conditonal statement in cinder::db::mysql.

There are two cases to pass $allowed_hosts to $real_allowed_hosts:

   - If $allowed_hosts is array,then remove $host from $allowed_hosts;
   - elsif $allowed_hosts is string and not equivalent to $host;

At last, if $real_allowed_hosts is not undef, then run
cinder::db::mysql::host_access

Fix bug 1206444
Change-Id: I7eb9d883c1617d9913899f32ef47a892c1d9a1a2
Setup test volume fails without lvm2

On Ubuntu, the lvm2 package isn't installed by default.
Setup test volume fails without the lvm2 package installed first.

Change-Id: I1c453102d3554fd4853e626af5daa74367ced88b
Merge "Setup test volume fails without lvm2"
Update modulefile and fixtures to use puppetlabs/inifile

cprice404/inifile was moved to the puppetlabs namespace on the forge
and github.

Change-Id: I2f2945fc480ff26bd6362ae340187a56e93a4b25