fix the name of the openvswitch_service on SUSE
Change-Id: I7969109017fcb3c4e11ee65a0685d24a31e3e3c4
This commit is contained in:
parent
f8cf18e024
commit
73b7e6929a
@ -712,7 +712,7 @@ when "suse"
|
||||
"quantum_dhcp_agent_service" => "openstack-quantum-dhcp-agent",
|
||||
"quantum_l3_agent_service" => "openstack-quantum-l3-agent",
|
||||
"quantum_metadata_agent_service" => "openstack-quantum-metadata-agent",
|
||||
"quantum_openvswitch_service" => "openvswitch",
|
||||
"quantum_openvswitch_service" => "openvswitch-switch",
|
||||
"quantum_openvswitch_agent_service" => "openstack-quantum-openvswitch-agent",
|
||||
"quantum_server_service" => "openstack-quantum",
|
||||
"package_overrides" => ""
|
||||
|
26
spec/openvswitch-opensuse_spec.rb
Normal file
26
spec/openvswitch-opensuse_spec.rb
Normal file
@ -0,0 +1,26 @@
|
||||
require_relative "spec_helper"
|
||||
|
||||
describe 'openstack-network::server' do
|
||||
describe "opensuse" do
|
||||
before do
|
||||
quantum_stubs
|
||||
@chef_run = ::ChefSpec::ChefRunner.new ::OPENSUSE_OPTS do |n|
|
||||
n.set["chef_client"]["splay"] = 300
|
||||
end
|
||||
@node = @chef_run.node
|
||||
@chef_run.converge "openstack-network::openvswitch"
|
||||
end
|
||||
|
||||
it "installs the openvswitch package" do
|
||||
expect(@chef_run).to install_package "openvswitch-switch"
|
||||
end
|
||||
|
||||
it "installs the openvswitch-agent package" do
|
||||
expect(@chef_run).to install_package "openstack-quantum-openvswitch-agent"
|
||||
end
|
||||
|
||||
it "starts the openvswitch-switch service" do
|
||||
expect(@chef_run).to set_service_to_start_on_boot "openvswitch-switch"
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user