Puppet Class: networkmanager

Defined in:
manifests/init.pp

Overview

Parameters:

  • version (Any) (defaults to: present)
  • enable (Any) (defaults to: true)
  • start (Any) (defaults to: true)
  • gui (Any) (defaults to: undef)
  • openconnect_connections (Any) (defaults to: {})
  • openvpn_connections (Any) (defaults to: {})
  • wifi_connections (Any) (defaults to: {})


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/init.pp', line 1

class networkmanager(
  $version = present,
  $enable  = true,
  $start   = true,
  $gui     = undef,

  $openconnect_connections = {},
  $openvpn_connections     = {},
  $wifi_connections        = {},
) {

  if $gui != undef {
    validate_re($gui, ['^gnome', '^kde'])
  }

  class { '::networkmanager::install': } ->
  class { '::networkmanager::service': } ->
  Class['networkmanager']

  class { '::networkmanager::config': } ->
  Class['networkmanager']
}