puppet-module-conman

Table of Contents

  1. Setup - The basics of getting started with conman

  2. Usage - Configuration options and additional functionality

  3. Reference - Module reference

Setup

What conman affects

This module will install and configure ConMan: The Console Manager.

Usage

Install and configure conman and define a console

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

To configure a system as a conman client:

class { 'conman':
  server        => false,
  conman_server => 'conman.example.com',
}

This is an example of exporting console configurations for all physical servers:

if $facts['virtual'] == 'physical' {
  @@conman::console { $facts['networking']['hostname']:
    device => "ipmi:bmc-${facts['networking']['hostname']}",
  }
}

Then collect all the exported consoles:

Conman::Console <<| |>>

Reference

treydock.github.io/puppet-module-conman/