Puppet Class: profile::netconsole::server

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

Overview

Class: profile::netconsole::server

This profile configures netconsole server on the host.

Sample Usage:

include profile::netconsole::server

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: lookup('profile::netconsole::server::ensure', {default_value => 'absent'}))
  • port (Wmflib::UserIpPort) (defaults to: lookup('profile::netconsole::server::port', {default_value => 6666}))


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

class profile::netconsole::server (
    Wmflib::Ensure $ensure = lookup('profile::netconsole::server::ensure', {default_value => 'absent'}),
    Wmflib::UserIpPort $port = lookup('profile::netconsole::server::port', {default_value => 6666}),
) {
    class { '::netconsole::server':
      ensure => $ensure,
      port   => $port,
    }

    ferm::service { 'netconsole-server':
        ensure => $ensure,
        proto  => 'udp',
        port   => $port,
    }
}