diff --git a/manifests/plugins/cisco.pp b/manifests/plugins/cisco.pp index 5bddc988c..1cd90f7f4 100644 --- a/manifests/plugins/cisco.pp +++ b/manifests/plugins/cisco.pp @@ -171,11 +171,9 @@ # In RH, this link is used to start Neutron process but in Debian, it's used only # to manage database synchronization. - file {'/etc/neutron/plugin.ini': + ensure_resource('file', '/etc/neutron/plugin.ini', { ensure => link, - target => '/etc/neutron/plugins/cisco/cisco_plugins.ini', - require => Package['neutron-plugin-cisco'] - } - - + target => '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini', + require => Package['neutron-plugin-ovs'] + }) } diff --git a/spec/classes/neutron_plugins_cisco_spec.rb b/spec/classes/neutron_plugins_cisco_spec.rb index 1e09c512a..243834248 100644 --- a/spec/classes/neutron_plugins_cisco_spec.rb +++ b/spec/classes/neutron_plugins_cisco_spec.rb @@ -42,8 +42,8 @@ class { 'neutron': rabbit_password => 'passw0rd' }" it 'should create plugin symbolic link' do should contain_file('/etc/neutron/plugin.ini').with( :ensure => 'link', - :target => '/etc/neutron/plugins/cisco/cisco_plugins.ini', - :require => 'Package[neutron-plugin-cisco]' + :target => '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini', + :require => 'Package[neutron-plugin-ovs]' ) end