Fix naming inconsistency for db password databag

The other openstack services cookbooks refer to the db password databag by the
service name (nova, swift, quantum) and therefore openstack-metering cookbook
should call the db password databag by service name 'ceilometer' to make it
consistent

Change-Id: I0a17e065f630f8506a5dd94b3a1ff8ed44482adc
This commit is contained in:
John Tran 2013-09-05 06:03:14 +00:00
parent 16af04fa8b
commit 93e308a163
3 changed files with 11 additions and 2 deletions

9
CHANGELOG.md Normal file
View File

@ -0,0 +1,9 @@
openstack-metering Cookbook CHANGELOG
==============================
This file is used to list changes made in each version of the openstack-metering cookbook.
v7.0.1
------
### Bug
- Fix naming inconsistency for db password databag. This makes the metering cookbook consistent with all the others.

View File

@ -4,7 +4,7 @@ maintainer_email "cookbooks@lists.tfoundry.com"
license "Apache 2.0"
description "The OpenStack Metering service Ceilometer."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "7.0.0"
version "7.0.1"
recipe "openstack-metering::agent-central", "Installs agent central service."
recipe "openstack-metering::agent-compute", "Installs agent compute service."

View File

@ -36,7 +36,7 @@ rabbit_pass = user_password node["openstack"]["metering"]["rabbit"]["username"]
db_info = db "metering"
db_user = node["openstack"]["metering"]["db"]["username"]
db_pass = db_password "openstack-metering"
db_pass = db_password "ceilometer"
db_query = db_info["db_type"] == "mysql" ? "?charset=utf8" : ""
db_uri = db_uri("metering", db_user, db_pass).to_s + db_query