Puppet Class: system::network::interfaces

Defined in:
manifests/network/interfaces.pp

Overview

Parameters:

  • config (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/network/interfaces.pp', line 1

class system::network::interfaces (
  $config = undef,
) {
  if $config {
    $_config = $config
  }
  else {
    $_config = hiera_hash('system::network::interfaces', undef)
  }
  $defaults = {
  }
  create_resources('system::network::interface', $_config, $defaults)
}