Giter VIP home page Giter VIP logo

puppet-deploy_pe's Introduction

deploy_pe

A module of Bolt plans and tasks to facilitate a lab based installation of a monolithic PE stack.

Table of Contents

  1. Description
  2. Setup - The basics of getting started with deploy_pe
  3. Usage - Examples
  4. Limitations
  5. Development

Description

A module of Bolt plans and tasks to facilitate the installation of a monolithic PE stack. This module is designed to be used with the Puppet Debugging Kit to install a lab based PE stack.

Currently the module provides the following plans.

  • Install a PE master
  • Install an agent and sign the certificate on the master
  • Install and configure a compiler

Setup

Setup Requirements

This module has only been tested on Linux and MacOS operating systems. The plans and tasks will likely not work from windows workstations. Please use the current version of Bolt to run these tasks and plans

The plans assume that there are no puppet components installed on the target machines. Only 2018.1+ versions of PE have been tested.

Beginning with deploy_pe

Usage

To use this module, install it in the boltdir and leverage the plans in the section below. The examples below will install a PE master, compiler, and agent.

Install a 2019.1.1 PE master with the admin password set to puppetlabs.

bolt plan run 'deploy_pe::provision_master' --run-as 'root' --params '{"version":"2019.1.1","pe_settings":{"password":"puppetlabs"}}' --targets 'pe-master'

The plan above will download the 2019.1.1 PE installer package, create a pe.conf with the password setting, and run the installer script to install PE.

Install an agent from the PE master.

bolt plan run 'deploy_pe::provision_agent' --run-as 'root' --params '{"master":"pe-master"}' --targets 'pe-agent'

The plan above will install the agent using the installer script from the master after ensuring that the agent packages are available on the master. It will then sign the agent's certificate on the master.

Install a compiler

bolt plan run 'deploy_pe::provision_compiler' --run-as 'root' --params '{"master":"pe-master"}' --targets 'pe-compiler'

The plan above will install the agent using the installer script from the master, pin the node to the PE Master node group, and then run the agent until there are no changes.

Purge a node from the master

bolt plan run 'deploy_pe::decom_agent' --run-as 'root' --params '{"master":"pe-master"}' --targets 'pe-agent'

The plan above will purge the node from the master. If the node is already offline it will try to guess the node name.

See the REFERENCE.md for additional parameters.

Limitations

This is only meant for lab based installations and not production installations. It is meant to be run with vagrant-bolt and using the Puppet Debugging Kit

Development

PRs and issues are welcome.

Contributors

Thank you @m0dular for the continued help on this module.

puppet-deploy_pe's People

Contributors

jarretlavallee avatar m0dular avatar dylanratcliffe avatar gavindidrichsen avatar martyewings avatar chrislorro avatar coreymbe avatar henrywangpuppet avatar

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.