Adds Support for X-Forwarded-For HTTP Headers

Previously, the nova::api class did not support proxies and
load-balancers that use X-Forwarded-For Headers to identify the
originating IP address of requests.  This change implements the
use_forwarded_for parameter to enable/disable the ability for
Nova API to treat the X-Forwarded-For HTTP Header as the canonical
remote address.

Defaults to false for backwards compatibility and to disable
X-Forwarded-For Headers.

Change-Id: I3c7224bef1bfa4578ab2a298b05a24e46d618ce7
Update allowed_hosts conditional statement

In the origin nova::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 nova::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
nova::db::mysql::host_access

Fix bug 1206444
Change-Id: If018321095e62e1196e0c2e6b623b30acb535020
Add nova::scheduler::filter for managing scheduler.filter

This patch is aim to add a new class to manage the filter
params in nova.scheduler.The most useable params are the
resource allocation ratio options.

Fix bug #1201062

Change-Id: Iab2c76fdd07768471f6bab61aaf8c7eff6445a22
Merge "Update allowed_hosts conditional statement"
Puppet Forge release 2.1.0

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

Change-Id: Ied4bf267d99330fcf54e034bb7a5553a03516db9
Update fixtures.yml for grizzly

This commit updates the .fixtures.yml to ensure this module can be used
to install stable/grizzly from source.

Change-Id: I759f5064b6e499ca312224318967241ae05abe09
Use ensure_packages to install utilities

* Remove nested declaration of nova::utilities::install

Change-Id: I232f8aae8889e448710157966de61510d7420c63
(cherry picked from commit 0903bb1615cbe4c5c0fe5e3b2b708820d1e67865)
Fix some puppet lint warnings.

Puppet-lint likes the ensure's to come first.

Change-Id: I127ee497d01c7a466338a334a61b47d862d79097
(cherry picked from commit 8f77b5f11c59d77e5091cbf509d92b3b54336370)
Merge "Use ensure_packages to install utilities" into stable/grizzly
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: I275e38e3760ee2199266fda1f81de4631ad675b1
(cherry picked from commit af1a123bf68a596e9cd8eee9d1f934e267eecbeb)
updated fixtures to correct postgresql link

Change-Id: Ic07b2c457d6fbb28f71737a4404cf3996ea223ef
Fixes some puppet lint warnings

This commit fixes the following warnings:
manifests/compute/libvirt.pp - WARNING: double quoted string containing no variables on line 31
manifests/init.pp - WARNING: class inheriting from params class on line 77
manifests/migration/libvirt.pp - WARNING: case statement without a default case on line 4

Change-Id: I84a1f5edfd63973fcfa963f9acfa954cf06c094b
(cherry picked from commit 13a20c94d4ebb8d3ef4622d05bcffb560b5c91ac)
pm-utils needed by compute nodes for the power operations of VMs

Cherry picked from https://review.openstack.org/#/c/43423/

Fixes: bug# 1208974

Change-Id: Id499cdf5d74a548a7319bcc5a47d2916434ea157