3 Commits

Author SHA1 Message Date
Sebastien Badia
ab3d2cea42 Migrate postgresql backend to use openstacklib::db::postgresql
Let migrate to the new openstacklib::db::postgresql helper for
postgresql backend. This commit also unpin postgresql fixture
(openstacklib support now the latest version of postgre module).

Change-Id: Ibcc206b4e5777085ef75997040353a999e7253ee
Implements: blueprint commmon-openstack-database-resource
2014-12-30 22:19:33 +01:00
Derek Higgins
d1028879c4 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
2013-04-30 06:25:35 -04:00
Dan Prince
c5e771bd1b 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
2013-04-23 12:58:20 -04:00