Skip to content

Commit

Permalink
fwaas config needs to notify l3 agent service
Browse files Browse the repository at this point in the history
This patch:
* make sure each modification to fwaas configuration will notify l3
  agent service.
* will write the configuration *before* trying to start l3 agent
  service. Without doing that, l3 agent would start without fwaas
  enabled.

Change-Id: Ib5c0d01726a2b56c4f0be9879add7b3c9d6038cc
  • Loading branch information
EmilienM committed Dec 8, 2015
1 parent eaf2f39 commit 0e041d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions manifests/services/fwaas.pp
Expand Up @@ -45,6 +45,9 @@

include ::neutron::params

# FWaaS needs to be enabled before starting Neutron L3 agent
Neutron_fwaas_service_config<||> ~> Service['neutron-l3']

if ($::osfamily == 'Debian') {
# Debian platforms
if $vpnaas_agent_package {
Expand Down
3 changes: 2 additions & 1 deletion spec/classes/neutron_services_fwaas_spec.rb
Expand Up @@ -22,7 +22,8 @@

describe 'neutron::services::fwaas' do
let :pre_condition do
"class { 'neutron': rabbit_password => 'passw0rd' }"
"class { 'neutron': rabbit_password => 'passw0rd' }
include ::neutron::agents::l3"
end

let :test_facts do
Expand Down

0 comments on commit 0e041d4

Please sign in to comment.