da6eaa1d3a
- This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I4710484e7481b48ee1c5626d37af6d71278270da Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
33 lines
567 B
Puppet
33 lines
567 B
Puppet
# == Class: vswitch
|
|
#
|
|
# Install and configure vswitch (ovs and others) using puppet.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*provider*]
|
|
# Select vswitch to install
|
|
#
|
|
# === Examples
|
|
#
|
|
# class { 'vswitch':
|
|
# provider => 'ovs',
|
|
# }
|
|
#
|
|
# === Authors
|
|
#
|
|
# - Endre Karlson <endre.karlson@gmail.com>
|
|
# - Dan Bode <dan@puppetlabs.com>
|
|
# - Ian Wells <iawells@cisco.com>
|
|
# - Gilles Dubreuil <gdubreui@redhat.com>
|
|
#
|
|
# === Copyright
|
|
#
|
|
# Apache License 2.0 (see LICENSE file)
|
|
#
|
|
class vswitch (
|
|
$provider = $vswitch::params::provider
|
|
) {
|
|
$cls = "::vswitch::${provider}"
|
|
include $cls
|
|
}
|