Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtulio/puppet-mod-roles
Module to manage the puppet 'business layer'.
https://github.com/mtulio/puppet-mod-roles
Last synced: 8 days ago
JSON representation
Module to manage the puppet 'business layer'.
- Host: GitHub
- URL: https://github.com/mtulio/puppet-mod-roles
- Owner: mtulio
- Created: 2016-01-17T21:48:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-28T06:33:34.000Z (over 8 years ago)
- Last Synced: 2024-10-30T17:10:05.598Z (18 days ago)
- Language: Puppet
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# roles
[![Puppet Forge](http://img.shields.io/puppetforge/v/mtulio/roles.svg)](https://forge.puppetlabs.com/mtulio/roles)
[![Build Status](https://travis-ci.org/mtulio/puppet-mod-roles.png?branch=master)](https://travis-ci.org/mtulio/puppet-mod-roles#### Table of Contents
1. [Overview](#1-overview)
2. [Roles](#roles)
* [server_linux](#21-class-server_linux)
* [pool_dmz_nginx](#22-class-pool_dmz_nginx)
3. [Limitations](#3-limitations)
4. [Development](#4-development)
5. [Release Notes](#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::nginxIn 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](https://forge.puppetlabs.com/mtulio/profiles)
#### Dependencies
Module ['mtulio-profiles'](https://forge.puppetlabs.com/mtulio/linux)
#### Files
See [module description](https://forge.puppetlabs.com/mtulio/linux)
#### 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