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
Puppet Forge release 2.1.0

Updated README.md file for Puppet Forge release 2.1.0
Updated Modulefile for Puppet Forge release

Change-Id: I9731a6ab7c61c08cb2868c7108f0083b96dfea3c
Fixes some puppet lint warnings

Puppet-lint likes when 'ensure' is the first parameter

Change-Id: I8814eb3a8279da99a2247765451fa75c30809f91
Disable 80chars/class_parameter_defaults checks

* Disable warnings for "line has more than 80 characters"
* Disable warnings for "parameterised class parameter without a default value"

We do not wish to track warnings for such violations.

Change-Id: If510ebd0e5ceca4310e80523a8bb455fa6f3f7f8
Creates an empty init script override file if necessary

Without this patch, puppet runs were failing with the following error:

(/Stage[main]/Cinder::Volume::Rbd/File_line[set initscript env]) Could not
evaluate: No such file or directory - /etc/init/cinder-volume.override

Change-Id: Ibf42b4b09441c8a044f50af62246be31fe584e1b
set package defaults to present

The package defaults in cinder are set to
latest. This is not consistent with the
other package defaults (which are set to
present).

This patch is aimed at making the package install
state default more consistent across all openstack
packages.

Change-Id: I0551777245acaacb551e84f64c0ef4d80c8c46b0
Add default auth_uri setting for auth token.

The latest keystoneclient code now gives a Warning if auth_uri
isn't explicitly specified.

Change-Id: I0feb52f7a9140ea750254f80b6a3e6855b25f1d3
Add missing puppet doc

Change-Id: Ic1620ba4e011f71a36e1958af140f0e696754dc1
Fail puppet-lint on warnings

Puppet-lint will now fail if there is any warnings.

Change-Id: I5997851548d32e4d723e4e76375cb17282c0d67b
Add syslog support to cinder module

Change-Id: I6e974fddfb77901827ca06bab18250529f970bae
Merge "Add syslog support to cinder module"
Check the parameter enabled before db_sync

Setting enabled to false ensures that the api service is not running
and the db schema is not create/migrated.

Change-Id: Idf4bfea0d21bfb4a0ca2c3c426961340a7d84be5
Merge "Check the parameter enabled before db_sync"
added check for init override file
moved file check to rbd.pp
removed extra file line
changed override files to abs path