Puppet Class: netconsole::server

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • port (Stdlib::Port::User) (defaults to: 6666)


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

class netconsole::server (
    Wmflib::Ensure $ensure = present,
    Stdlib::Port::User $port = 6666,
) {
    systemd::service { 'netconsole':
        ensure  => $ensure,
        content => systemd_template('netconsole'),
        restart => true,
        require => Package['netcat-openbsd'],
    }
}