X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fneutron%2Fmanifests%2Fservices%2Ffwaas.pp;fp=3rdparty%2Fmodules%2Fneutron%2Fmanifests%2Fservices%2Ffwaas.pp;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=090b079707d470d2e1a3ac3af246b747e62a51ab;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/neutron/manifests/services/fwaas.pp b/3rdparty/modules/neutron/manifests/services/fwaas.pp deleted file mode 100644 index 090b07970..000000000 --- a/3rdparty/modules/neutron/manifests/services/fwaas.pp +++ /dev/null @@ -1,71 +0,0 @@ -# -# Copyright (C) 2013 eNovance SAS -# -# Author: Emilien Macchi -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# -# == Class: neutron::services::fwaas -# -# Configure the Firewall as a Service Neutron Plugin -# -# === Parameters: -# -# [*enabled*] -# (required) Whether or not to enable the FWaaS neutron plugin Service -# true/false -# -# [*driver*] -# (optional) FWaaS Driver to use -# Defaults to 'neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver' -# -# [*vpnaas_agent_package*] -# (optional) Use VPNaaS agent package instead of L3 agent package on debian platforms -# RedHat platforms won't take care of this parameter -# true/false -# Defaults to false -# - -class neutron::services::fwaas ( - $enabled = true, - $driver = 'neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver', - $vpnaas_agent_package = false -) { - - include neutron::params - - if ($::osfamily == 'Debian') { - # Debian platforms - if $vpnaas_agent_package { - ensure_resource( 'package', $::neutron::params::vpnaas_agent_package, - { 'ensure' => $neutron::package_ensure }) - Package[$::neutron::params::vpnaas_agent_package] -> Neutron_fwaas_service_config<||> - } - else { - ensure_resource( 'package', $::neutron::params::l3_agent_package, - { 'ensure' => $neutron::package_ensure }) - Package[$::neutron::params::l3_agent_package] -> Neutron_fwaas_service_config<||> - } - } elsif($::osfamily == 'Redhat') { - # RH platforms - ensure_resource( 'package', $::neutron::params::package_name, - { 'ensure' => $neutron::package_ensure }) - Package[$::neutron::params::package_name] -> Neutron_fwaas_service_config<||> - } - - neutron_fwaas_service_config { - 'fwaas/enabled': value => $enabled; - 'fwaas/driver': value => $driver; - } -}