Code Monkey home page Code Monkey logo

voxpupuli / puppet-module Goto Github PK

View Code? Open in Web Editor NEW
5.0 40.0 3.0 97 KB

Puppet 4+ module to optionally configure and manage Puppet 4/5 package, config, agent, cert, and other tools.

License: BSD 3-Clause "New" or "Revised" License

Ruby 45.57% Puppet 51.20% Dockerfile 3.22%
linux-puppet-module puppet hacktoberfest amazon-puppet-module centos-puppet-module oraclelinux-puppet-module redhat-puppet-module scientific-puppet-module ubuntu-puppet-module

puppet-module's Introduction

This module is deprecated. Do not use it anymore

Puppet Configuration

Build Status

Manage Puppet 4/5+ apply, agent, certificate, and other Puppet tools configuration.

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with puppet
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module utilizes Hiera hierarchies to customize Puppet configuration for all three commands:

  • puppet apply
  • puppet agent
  • puppet cert
  • puppet lookup
  • ...etc

Module Description

Configures Puppet 4/5+ agent, user tools, etc.

  • Manages the Puppet yum repositories (if desired)
  • Upgrades the puppet-agent package (if desired)
  • Performs single-option configuration changes allowing local customizations to remain
  • Strives to demonstrate Puppet best practices.

Setup

What puppet affects

  • Yumrepo
    • Puppet package repository
  • Packages
    • Puppet package
  • Configuration Files
    • /etc/puppetlabs/puppet/puppet.conf

Setup Requirements

Requires the puppet-agent package to be installed. (catch-22 yes I know)

Beginning with puppet

Hiera configuration:

classes:
  - puppet
  - puppet::agent (optional)

Usage

Configuration values in Hiera (or supplied by an node terminus):

  • Common
    • puppet::package_name = Override the default puppet-agent package name (for custom packages)
    • puppet::manage_repo = Boolean to manage the yum repo for the specified Puppet version
    • puppet::repo_enabled = Boolean to enable the repo for all Yum commands
    • puppet::repos = hash to override the public repo with a local mirror
    • puppet::version = 'latest', 'present', 'absent', or a specific version.
    • puppet::config = Hash of configuration parameters for the [main] section of puppet.conf
    • puppet::user::config = Hash of configuration parameters for the [user] section of puppet.conf
  • Agent
    • puppet::agent::status = 'Running' (default) or 'Stopped'
    • puppet::agent::enabled = true (default) or false
    • puppet::agent::config = Hash of configuration parameters for the [agent] section of puppet.conf

Reference

Setup Requirements

  • Classes
    • puppet - Maintains package repository, puppet package, and [main] block of puppet.conf
    • puppet::user - Maintains [user] block of puppet.conf
    • puppet::agent - Maintains [agent] block of puppet.conf and the puppet service

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.