Fix the nova-consoleauth package name on Debian OS

It should be nova-consoleauth. nova-console is a package for the XCP
console.

Fixes bug 1171849

Change-Id: Ief008f423076b706c7a41ac164f665089e08a1da
Add nova::db::postgresql class.

This allows Nova to be used with PostgreSQL.

Requires the puppetlabs/postgresql module. NOTE: I did add this
dependency to fixtures but did not add it to the Modulefile due
to the fact that the postgresql::python module hasn't been
released to puppetforge yet (although it is committed and tests
pass).

Change-Id: I3522d50935c81c8859c9f597df64aa0af6ca4e71
Merge "Add nova::db::postgresql class."
Remove quantum_connection_host parameter

quantum_connection_host parameter was not expected to work anyway
due to a typo in the logic in the class. quantum_connection_host
was removed from OpenStack with the release of Folsom.

It fixes a deprecation warning raised by Puppet:
Dynamic lookup of $quantum_host at nova/manifests/network/quantum.pp:27
is deprecated.

Additional changes:
* Remove commented parameters which were not used
* Add rspec tests for nova::network::quantum

Change-Id: I1d83511b0487de5ae694dae2b89bc265f6af27ca
Merge "Remove quantum_connection_host parameter"
Add quantum_region_name parameter

This parameter configures the region to use with Quantum. It defaults
to "RegionOne" which is the default used by quantum::keystone::auth.

Change-Id: Ice528825fb2e35016f6fdf68ff5b3beb0ce45d85
Drop dependency on apt module.

Nova doesn't appear to have any direct dependencies on apt so we
should drop this.

Change-Id: I9b9580db655b129d41fed4ac35a999c1a1c639c7
Merge "Add quantum_region_name parameter"
Allow user to set the number of api workers

Defaults to ::processorcount
Also reseting puppet 2.6 compat in spec/classes/nova_db_postgresql_spec.rb
so that unit tests pass, it looks like our 2.6 unit test runner is using
puppet 2.7

Change-Id: I521679ce497a6d9f39a88a6e1d16d5a4ca67255a
Replace deprecated :rubygems source

Fix deprecation warnings thrown by bundler:

  The source :rubygems is deprecated because HTTP requests are insecure.
  Please change your source to 'https://rubygems.org' if possible,
  or 'http://rubygems.org' if not.

Fixes: bug #1175767
Change-Id: I83082c6ef8d4c8c628bcb812bda2fe3c6dd6cb34
Changed mode of /var/log/nova to 0750

If directory is world executable, it means when somebody
knows proper filenames (and everybody knows default names)
then the directory is "vulnerable".

Change-Id: Icdd68f5178debdd2368d3c02c94419be4f2935a8
Add puppet-lint to Gemfile

Change-Id: I4f71109c19a0aade8a8c87c920cb9e934aab34a1
Add debug parameter

Change-Id: Ibde7ed39a3db418689b647007b2f7659fe94517f
Merge "Add debug parameter"
Changes to Nova for Quantum

This patch removes Quantum as an option in network.pp. If using
Quantum, just directly use nova::network::quantum instead. This
patch also enables Nova to be configured to use Quantum security
groups.

Change-Id: I162f1c5153f10150ac4997d31d3b50b702daf013
Allow empty configuration value

Some Nova configurations allows an empty value. In some case,
an empty string needs to be explicitly set otherwise
the default value is used. (such as dhcp_domain)

Change-Id: I410f981ec6976f9bb4e5877cc14730d17ff4225b
Adds metadata_listen parameter

Previously, metadata_listen used the api_bind_address
parameter, but there are scenarios when it should listen on another
IP address, such as localhost - for example, when using Quantum
metadata.

Change-Id: I8b1b2d8623a0626516342f7750eecb3087e8a880
Rename nova_config rspec tests

The unit tests got updated when we changed nova_config provider
from parsed to ini_settings, but we forgot to rename the file.
Renaming it to better reflect which provider is tested.

Change-Id: Ib3c0581b589e01db804ffba54c7faf7f329ce844
Merge "Allow empty configuration value"
Allow configure nova-metadata for quantum

Change-Id: I23da2c831d8c726a85a60aa51adfcb9d7a448013