Forge Home

roles

Module to manage the puppet 'business layer'.

7,889 downloads

7,889 latest version

4.1 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.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
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'mtulio-roles', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mtulio-roles
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mtulio-roles --version 1.0.0

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

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