2015-03-23 17:29:41 +01:00
|
|
|
# megacli
|
|
|
|
|
|
|
|
#### Table of Contents
|
|
|
|
|
|
|
|
1. [Overview](#overview)
|
2015-03-24 11:21:04 +01:00
|
|
|
2. [Module Description](#module-description)
|
|
|
|
3. [Setup](#setup)
|
2015-03-23 17:29:41 +01:00
|
|
|
* [What megacli affects](#what-megacli-affects)
|
2015-03-24 11:21:04 +01:00
|
|
|
4. [Usage](#usage)
|
|
|
|
5. [Reference](#reference)
|
|
|
|
* [Classes](#classes)
|
|
|
|
* [Parameters](#parameters)
|
|
|
|
6. [Limitations](#limitations)
|
|
|
|
7. [Development](#development)
|
|
|
|
8. [License](#license)
|
2015-03-23 17:29:41 +01:00
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
This module just provide a simple way to install Megacli (MegaRaid management).
|
2015-03-23 17:29:41 +01:00
|
|
|
|
|
|
|
## Module Description
|
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
Based on a default repository it will be easy to manage Megacli for Debian
|
|
|
|
systems. If you want some Redhat/Fedora/Ubuntu support, please send repository
|
|
|
|
URL :)
|
2015-03-23 17:29:41 +01:00
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
### What megacli affects
|
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
* A new `sources.list` file for Megacli.
|
|
|
|
* Package for Megacli.
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
## Usage
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
To begin using Megacli module with defaults parameters:
|
|
|
|
```
|
|
|
|
include megacli
|
|
|
|
```
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
## Reference
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
### Classes
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
* `megacli`: Main class call all subclasses.
|
|
|
|
* `megacli::repo`: Manage the repository to provide Megacli.
|
|
|
|
* `megacli::install`: Install Megacli packages.
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
### Parameters
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
#### megacli
|
|
|
|
* `repo_ensure`: What to set the repository to. Can be 'present' or 'absent'. Defaults to 'present'.
|
|
|
|
* `repo_url`: The URL of the repository. Default to 'http://hwraid.le-vert.net/debian/' for Debian systems.
|
|
|
|
* `repo_key`: The key to ensure the repository is trusted. Defaults to '23B3D3B4' for Debian systems.
|
|
|
|
* `repo_key_server`: The server used to validate the repository's key. Defaults to 'keyserver.ubuntu.com' for Debian systems.
|
|
|
|
* `repo_include_src`: If set to 'true', it will include the source packages. Can be 'true' or 'false'. Defaults to 'false'.
|
|
|
|
* `repos`: Which sections to use for the repository. Can be an array. Defaults to 'main' for Debian systems.
|
|
|
|
* `pkg_ensure`: What to set the Megacli package to. Can be 'present' or 'absent'. Defaults to 'present'.
|
|
|
|
* `pkg_name`: The Megacli's package name to install. Defaults to 'megacli'.
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
Limitations
|
|
|
|
-----------
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
This module has only be tested on Debian 7.x versions, but should work on Debian <=7.
|
|
|
|
The default repository for Debian doesn't provide packages for Debian 8 (aka Jessie).
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
Development
|
|
|
|
-----------
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
Free to send contributions, fork it, ...
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
License
|
|
|
|
-------
|
2015-03-23 17:29:41 +01:00
|
|
|
|
2015-03-24 11:21:04 +01:00
|
|
|
WTFPL (http://wtfpl.org/)
|
2015-03-23 17:29:41 +01:00
|
|
|
|