Puppet::Type.type(:neutron_agent_ovs).provide(
  :ini_setting,
  :parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
) do

  def file_path
    if Facter.value(:operatingsystem) == 'Ubuntu'
      '/etc/neutron/plugins/ml2/ml2_conf.ini'
    else
      '/etc/neutron/plugins/ml2/openvswitch_agent.ini'
    end
  end

end
