
* Add gerrit configuration * s/Puppetfile/Gemfile: puppetfile with this content is a mistake * Fix puppet modulefile (stackforge migration) * Add puppet-lint configuration like other puppet projects on stackforge * Add Gemlock file * And update gitingore * Solve lint issues, and minors improvments [lint issues] * class not documented * variable not enclosed in {} * double quoted string containing no variables * case statement without a default case * indentation of => is not properly aligned * soft and hard tabs [improvments] * Use a case instead of a if/if Change-Id: I58614f7995e6b8f3f7f6426269077810962cc682
33 lines
565 B
Puppet
33 lines
565 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
|
|
}
|