Defined Type: conman::console

Defined in:
manifests/console.pp

Summary

Define a conman console

Overview

Examples:

conman::console { 'compute01':
  device   => 'ipmi:bmc-compute01',
  ipmiopts => 'U:admin,P:bmcpassword',
}

Parameters:

  • device (String)

    The console device, maps to dev in conman.conf

  • log (Optional[String]) (defaults to: undef)

    See conman.conf man page

  • logopts (Optional[String]) (defaults to: undef)

    See conman.conf man page

  • seropts (Optional[String]) (defaults to: undef)

    See conman.conf man page

  • ipmiopts (Optional[String]) (defaults to: undef)

    See conman.conf man page

  • order (String) (defaults to: '50')

    The order of where to insert file in conman.conf The default will order alphabetically by name



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'manifests/console.pp', line 22

define conman::console (
  String $device,
  Optional[String] $log = undef,
  Optional[String] $logopts = undef,
  Optional[String] $seropts = undef,
  Optional[String] $ipmiopts = undef,
  String $order = '50',
) {

  include conman

  concat::fragment { "conman.conf.${name}":
    target  => $conman::cfgfile,
    content => template('conman/etc/conman.conf.console.erb'),
    order   => $order,
  }
}