roles

Module to manage the puppet 'business layer'.

Marco Tulio

mtulio

6,741 downloads

6,741 latest version

4.1 quality score

Version information

  • 1.0.0 (latest)
released Jan 17th 2016
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 5.0.0
  • RedHat
    ,
    CentOS

Start using this module

Documentation

mtulio/roles — version 1.0.0 Jan 17th 2016

roles

Table of Contents

  1. Overview
  2. Roles
  3. Limitations
  4. Development
  5. Release Notes

1. Overview

Module to manage the puppet 'business layer'. Here you can define pools of configuration and associate it to profiles. This class will work exclusively with 'mtulio-profile' module that implements puppet 'implementation layer'. Each 'role' you can add one or more profiles.

For an better understanding, I have named each 'roles' as a 'pools of servers', each pool has an specific group of configurations[profiles]

For a example, if the node has an 'webserver role' with NGINX, the class can be called 'pool_dmz_nginx' and associate these profiles:

  • profiles::linux
  • profiles::nms::zabbix_agent
  • profiles::web::nginx

In this class you can be specific and detailed in what the business need.

2. Roles

  • server_linux : means a basic Linux server with the base Company configuration
  • pool_dmz_nginx : means a pools of Linux servers that has a base Linux Configuration plus NGINX

2.1 Class: server_linux

Description

Profile to configure Linux system using its profile see module mtulio-profiles

Dependencies

Module 'mtulio-profiles'

Files

See module description

Usage

  • Basic usage
class {'::roles::server_linux' : }
  • Using your own 'module repository of configuration'
class {'::roles::server_linux' : 
  config_repo => '0_REPOSITORY',
}

2.2 Class: pool_dmz_nginx

Description

Profile to configure NGINX in a Linux server [in development]

Dependencies

Files

Usage

3. Limitations

OS compatibility:

  • Red Hat family 7+

We're working to support more OS.

4. Development

See project page at https://github.com/mtulio/puppet-mod-roles

5. Release Notes

[1.0.0]

  • Add Role for Linux server [server_linux]
  • In development role/profile for NGINX web server