Added handling for db_pkg install for sqlite

* Added test case for sqlite db_type
* Added CHANGELOG.md
* Version bump to 7.0.1

Fixes bug: 1246175

Change-Id: Ieae7d5d75daaa06d65a4a38b4f5b00deb37e45f4
This commit is contained in:
galstrom21
2013-10-30 14:52:55 -05:00
parent c9a37bca9a
commit 9e178ea3e9
6 changed files with 42 additions and 4 deletions

View File

@@ -31,6 +31,13 @@ describe "openstack-identity::server" do
expect(chef_run).not_to include_recipe "openstack-common::logging"
end
it "converges when configured to use sqlite db backend" do
chef_run = ::ChefSpec::ChefRunner.new ::UBUNTU_OPTS
node = chef_run.node
node.set["openstack"]["db"]["identity"]["db_type"] = "sqlite"
chef_run.converge "openstack-identity::server"
end
it "installs mysql python packages" do
expect(@chef_run).to install_package "python-mysqldb"
end