Merge "Configure service_provider for VPNaaS" into stable/liberty

This commit is contained in:
Jenkins 2016-11-24 15:04:25 +00:00 committed by Gerrit Code Review
commit a9938bc871
1 changed files with 11 additions and 0 deletions

View File

@ -3,3 +3,14 @@ class { '::neutron::agents::vpnaas':
vpn_device_driver => 'neutron_vpnaas.services.vpn.device_drivers.libreswan_ipsec.LibreSwanDriver',
}
# FIXME: this is a workaround until
# https://bugs.launchpad.net/puppet-neutron/+bug/1538971 is fixed
file_line { 'vpnaas_service_provider':
path => '/etc/neutron/neutron_vpnaas.conf',
match => '^service_provider +=.*',
line => 'service_provider = VPN:libreswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default',
require => Class['::neutron::agents::vpnaas'],
notify => Service['neutron-server'],
}