rhel_centos_starter_kit_minimal

Module to configure and install packages to minimal rhel installations

Seif KAROUI

soufas

5,596 downloads

4,034 latest version

4.6 quality score

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:
  • RedHat
    ,
    CentOS

Start using this module

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