Forge Home


Install a tool to manage LSI Raid Controller (and also Dell PERC).


10,695 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.1 (latest)
  • 0.2.0 (deleted)
  • 0.1.0
released Apr 30th 2015
This version is compatible with:
  • Debian

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'gardouille-megacli', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gardouille-megacli
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gardouille-megacli --version 0.2.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



gardouille/megacli — version 0.2.1 Apr 30th 2015


Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference
  6. Limitations
  7. Development
  8. License


This module just provide a simple way to install Megacli (MegaRaid management).

Module Description

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 :)


What megacli affects

  • A new sources.list file for Megacli.
  • Package for Megacli.


To begin using Megacli module with defaults parameters:

include megacli

New Debian Jessie

The default repository doesn't provide (yet?) a repository for the new Debian Stable (aka Jessie). Instead, we can use the Sid one:

  class { 'megacli':
    repo_suite => 'sid',



  • megacli: Main class call all subclasses.
  • megacli::repo: Manage the repository to provide Megacli.
  • megacli::install: Install Megacli packages.



  • 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 '' for Debian systems.
  • repo_suite: The suite to use for the repository. Default to '$::lsbdistcodename'.
  • 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 '' 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'.


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) but it's work if you use the Sid packages, see New-debian-jessie.


Free to send contributions, fork it, ...