File: init.pp

package info (click to toggle)
puppet-module-vswitch 21.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: ruby: 2,189; python: 38; sh: 10; makefile: 10
file content (33 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# == 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
}