Puppet Class: netconsole::server

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • port (Wmflib::UserIpPort) (defaults to: 6666)


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

class netconsole::server (
    Wmflib::Ensure $ensure = present,
    Wmflib::UserIpPort $port = 6666,
) {
    package { 'netcat-openbsd':
        ensure => present,
    }

    systemd::service { 'netconsole':
        ensure  => $ensure,
        content => systemd_template('netconsole'),
        restart => true,
        require => Package['netcat-openbsd'],
    }
}