Puppet Class: profile::netconsole::client

Defined in:
modules/profile/manifests/netconsole/client.pp

Overview

Class: profile::netconsole::client

This profile configures netconsole client on the host.

Sample Usage:

include profile::netconsole::client

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: lookup('profile::netconsole::client::ensure'))
  • remote_ip (Optional[Stdlib::Ipv4]) (defaults to: lookup('profile::netconsole::client::remote_ip', {default_value => undef}))
  • remote_mac (Optional[Stdlib::MAC]) (defaults to: lookup('profile::netconsole::client::remote_mac', {default_value => undef}))


8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/netconsole/client.pp', line 8

class profile::netconsole::client (
    Wmflib::Ensure $ensure = lookup('profile::netconsole::client::ensure'),
    Optional[Stdlib::Ipv4] $remote_ip = lookup('profile::netconsole::client::remote_ip', {default_value => undef}),
    Optional[Stdlib::MAC] $remote_mac = lookup('profile::netconsole::client::remote_mac', {default_value => undef}),
) {
    class { '::netconsole::client':
      ensure     => $ensure,
      dev_name   => $::interface_primary,
      local_ip   => $::ipaddress,
      remote_ip  => $remote_ip,
      remote_mac => $remote_mac,
    }
}