Forge Home

ilorest

Installs and runs iLOrest examples

7,204 downloads

6,817 latest version

4.5 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0 (deleted)
released Aug 12th 2016

Start using this module

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

Add this module to your Puppetfile:

mod 'lumbajack-ilorest', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add lumbajack-ilorest
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install lumbajack-ilorest --version 1.0.3

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.

Download

Documentation

lumbajack/ilorest — version 1.0.3 Aug 12th 2016

iLOrest

Build Status Puppet Forge GitHub license Codacy grade

####Table of Contents

  1. Overview
  2. Description
  3. Setup
  4. Installation
  5. Usage

Overview

Puppet module for installing the Python iLOrest library and showcasing a few examples.

Description

iLOrest is a puppet module that installs the Python iLOrest library and runs a handful of examples included in the library. Currently iLOrest works with Windows Server and any ’nix distribution. iLOrest was written primarily as an example for server administrators to use as a template or basis for writing their own modules using the iLOrest library. iLOrest installs the iLOrest library as part of the installation to preserve idempotency along with managing the example scripts.

Setup

iLOrest requires an installation of Python 2.7.6+ to work. This may be installed with Stankevich’s Python module from the Puppet Forge. Alternatively, a pre-installed version of Python would work as well, as long as it satisfies the version 2.7.6+ requirements.

Installation

Use this command to install iLOrest:

puppet module install lumbajack-ilorest

On the node servers, by default, in debian distributions, the iLOrest module will install files into the iLOrest module path. (/etc/puppetlabs/code/environments/production/modules/iLOrest). In Windows, it will install into the C: drive. (C:iLOrest). In RedHat, it installs into Puppet’s module path (/etc/puppet/modules/iLOrest)

On master servers, the module installation is handled through Puppet.

For a manual installtion, download this module as a zip, and unzip it in your modules folder. The iLOrest module directory should be simply named “iLOrest”, so the node definition will recognize the module as iLOrest.

Note: If installing manually, or from this repository, ensure the folder is named “iLOrest” so Puppet can locate the module.

Usage

iLOrest is used by setting your parameters in the site.pp node definitions. Here is an example of it in use as a default node definition. iLOrest is hardcoded to show off a few examples, namely examples 9, 14, and 3. Since the intent of iLOrest is to provide user with a template on how to build their own modules, the examples are hardcoded in. These examples are from the python iLOrest library and are intended to be just examples. Server admins should look into building their own scripts to meet their needs and then refer to this module for implementation using Puppet.

node default {
  class { 'ilorest':
    ilo_ip       => '10.0.0.100',
    ilo_username => 'admin',
    ilo_password => 'password
  }
}