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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user