2015-01-19 10:08:26 +01:00
|
|
|
# ipmi
|
|
|
|
|
|
|
|
#### Table of Contents
|
|
|
|
|
|
|
|
1. [Overview](#overview)
|
2015-01-19 15:18:27 +01:00
|
|
|
2. [Module Description](#module-description)
|
|
|
|
3. [Setup](#setup)
|
|
|
|
* [What IPMI affects](#what-ipmi-affects)
|
|
|
|
* [Beginning with IPMI](#beginning-with-ipmi)
|
|
|
|
4. [Usage](#usage)
|
|
|
|
5. [Reference](#reference)
|
|
|
|
* [Classes](#classes)
|
|
|
|
* [Defined types](#defined-types)
|
|
|
|
* [Parameters](#parameters)
|
|
|
|
6. [Limitations](#limitations)
|
|
|
|
7. [Development](#development)
|
|
|
|
8. [License](#license)
|
|
|
|
|
|
|
|
|
2015-01-19 10:08:26 +01:00
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
The ipmi module provide a simple way to install IPMI service on a machine.
|
|
|
|
You also can configure user and device.
|
2015-01-19 10:08:26 +01:00
|
|
|
|
|
|
|
## Module Description
|
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
The module install all needed packages and load the modules to be able to
|
|
|
|
manage the BMC with a Debian family system.
|
2015-01-19 10:08:26 +01:00
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
### What IPMI affects
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
* Package for IPMI
|
|
|
|
* Kernel modules at boot time
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
### Beginning with IPMI
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
To begin using ipmi with default parameters, declare the main class with:
|
|
|
|
```
|
|
|
|
include ipmi
|
|
|
|
```
|
2015-01-19 10:08:26 +01:00
|
|
|
|
|
|
|
for upgrading, you may wish to include an additional section here: Upgrading
|
|
|
|
(For an example, see http://forge.puppetlabs.com/puppetlabs/firewall).
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Put the classes, types, and resources for customizing, configuring, and doing
|
|
|
|
the fancy stuff with your module here.
|
|
|
|
|
|
|
|
## Reference
|
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
### Classes
|
|
|
|
|
|
|
|
* `ipmi`: Main class, load all subclasses to install and configure IPMI.
|
|
|
|
|
|
|
|
### Defined types
|
|
|
|
|
|
|
|
* Not yet implemented
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
|
|
#### ipmi
|
|
|
|
|
|
|
|
* `pkg_ensure`: What to set the packages to. Can be 'present', 'absent' or 'version'. Defaults to 'present'.
|
|
|
|
* `pkg_name`: The list of packages. Can be an array [ 'ipmitool', 'openipmi' ].
|
|
|
|
* `modules_list`: The modules list to load at boot time.
|
|
|
|
* `modules_file_path`: The configuration file will contain the modules list. Defaults to '/etc/modules-load.d/ipmi.conf'.
|
|
|
|
* `modules_file_content`: Template file to use to generate the previous configuration file. Defaults to 'ipmi/ipmi_modules.conf.erb'.
|
|
|
|
* `needed_module_name`: The module it's necessary to load one time to be able to use ipmi devices.
|
|
|
|
|
|
|
|
|
|
|
|
Limitations
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This module will work only on Debian 7.x versions and maybe on Debian 8.x (to test).
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
Development
|
|
|
|
-----------
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
Free to send contributions, fork it, ...
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
License
|
|
|
|
-------
|
2015-01-19 10:08:26 +01:00
|
|
|
|
2015-01-19 15:18:27 +01:00
|
|
|
WTFPL (http://wtfpl.org/)
|
2015-01-19 10:08:26 +01:00
|
|
|
|
|
|
|
|