Forge Home

rhel_centos_starter_kit_minimal

Module to configure and install packages to minimal rhel installations

7,360 downloads

5,027 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.1.14 (latest)
  • 0.1.13
  • 0.1.12
  • 0.1.11
  • 0.1.10
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jun 6th 2017
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'soufas-rhel_centos_starter_kit_minimal', '0.1.14'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add soufas-rhel_centos_starter_kit_minimal
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install soufas-rhel_centos_starter_kit_minimal --version 0.1.14

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

soufas/rhel_centos_starter_kit_minimal — version 0.1.14 Jun 6th 2017

rhel_centos_starter_kit_minimal

Table of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Limitations

Overview

This is a module to configure RHEL and CentOS minimal fresh installations used in production environments.

Module Description

  • it adds a new yum repository file which contains centos repo.
  • it installs necessary packages for critical production servers: net-tools,vim-enhanced,nc,wireshark,tcpdump,wget,strace,lynx,sysstat,lsof,deltarpm,mlocate,bash-completion,nmap,telnet,lshw
  • it deactivates NetworkManager , Firewalld service and RHNSD service
  • it makes Network interfaces unmanaged by NetowrkManager and restart the network service if any change is done

Usage

Minimal usage:

include rhel_centos_starter_kit_minimal

Advanced usage example :

class { rhel_centos_starter_kit_minimal:
  packages_list => [net-tools,vim-enhanced,nc,wireshark,tcpdump,wget,strace,lynx,sysstat,lsof,deltarpm,mlocate,bash-completion,nmap,telnet,lshw],
  disable_nm => 'yes',
  disable_firwalld => 'no', 
  disable_rhnsd => 'yes',
}

Variables description used when declaring:

  • packages_list : packages that should be installed , if not set , default is like in the example
  • disable_nm : if set to yes , NM_CONTROLLED=false will be added to all network interface configuration , if it is already configured no change will be made. If not set , default is yes
  • disable_firwalld : if set to yes , Firewalld service will disabled and masked. If not set , default is yes
  • disable_rhnsd : if set to yes , Rhnsd service will disabled and masked. If not set , default is yes }

Limitations

The Centos repo is added without checking if it already exists , condition will be added in futur releases