Skip to content

Commit

Permalink
Fixed vpnaas agent for RedHat systems
Browse files Browse the repository at this point in the history
The package vpnaas package was not installed by default for RedHat
systems, and the service had the incorrect name. This patch
installs the package and sets the correct service name.

Backport to stable/havana

Change-Id: Id54dfbcb918d7d9ba110eb238858162c5cc0380e
  • Loading branch information
Chris Hoge committed Apr 10, 2014
1 parent ad61ad3 commit f3f7232
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions manifests/agents/vpnaas.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@
name => $::neutron::params::vpnaas_agent_package,
}
} else {
# Some platforms (RedHat) do not provide a neutron VPNaaS agent package.
# The neutron VPNaaS agent config file is provided by the neutron package.
Package['neutron'] -> Neutron_vpnaas_agent_config<||>
}

Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
$metering_agent_package = false
$metering_agent_service = 'neutron-metering-agent'

$vpnaas_agent_package = false
$vpnaas_agent_service = 'neutron-vpnaas-agent'
$vpnaas_agent_package = 'openstack-neutron-vpn-agent'
$vpnaas_agent_service = 'neutron-vpn-agent'
$openswan_package = 'openswan'

$l3_agent_package = false
Expand Down
3 changes: 2 additions & 1 deletion spec/classes/neutron_agents_vpnaas_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@

let :platform_params do
{ :openswan_package => 'openswan',
:vpnaas_agent_service => 'neutron-vpnaas-agent'}
:vpnaas_agent_package => 'openstack-neutron-vpn-agent',
:vpnaas_agent_service => 'neutron-vpn-agent'}
end

it_configures 'neutron vpnaas agent'
Expand Down

0 comments on commit f3f7232

Please sign in to comment.