Defined Type: powerman::node

Defined in:
manifests/node.pp

Summary

Manage powerman node

Overview

Parameters:

  • device (String)

    Node device

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

    Node port

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

    Order in powerman.conf



9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/node.pp', line 9

define powerman::node (
  String $device,
  Optional[String] $port = undef,
  String $order = '50',
) {

  include powerman

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