![Takashi Kajinami](/assets/img/avatar_default.png)
The params class is the legacy approach to define OS/version specific values. This replaces the params class by the module hieradata following the recent standard. Change-Id: I046267279720e969b0ddde821fafff00e517e728
34 lines
588 B
Puppet
34 lines
588 B
Puppet
# == Class: vswitch
|
|
#
|
|
# Install and configure vswitch (ovs and others) using puppet.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*provider*]
|
|
# Select vswitch to install
|
|
# Defaults to 'ovs'
|
|
#
|
|
# === 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 (
|
|
Enum['ovs', 'dpdk'] $provider = 'ovs'
|
|
) {
|
|
$cls = "::vswitch::${provider}"
|
|
include $cls
|
|
}
|