apply_helpers

pdk
Helper libraries for Bolt Apply functionality

Puppet

puppetlabs

15,588 downloads

4,078 latest version

5.0 quality score

Version information

  • 0.2.1 (latest)
  • 0.1.0
released Mar 11th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    ,
    windows
    ,
    Fedora
    ,
    Darwin
    ,
    SLES

Start using this module

Documentation

puppetlabs/apply_helpers — version 0.2.1 Mar 11th 2020

apply_helpers

Table of Contents

  1. Description
  2. Setup - The basics of getting started with apply_helpers
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how

Description

This module provides helper tasks that are used by the apply() functionality in Bolt. These tasks are not intended to be run on their own, but as part of a bolt plan that uses the apply keyword.

This module allows Bolt plans using apply() to be run on a Puppet Enterprise (PE) installation.

Setup

  1. First you'll need to install the puppetlabs-puppet_agent module from the master branch on github. The easiest way to do this is to add
    mod 'puppetlabs-puppet_agent', :git => 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git'
    
    to your Puppetfile. Alternatively you can clone the puppetlabs-puppet_agent repo, build it locally, and use the Puppet Development Kit to install
    git clone https://github.com/puppetlabs/puppetlabs-puppet_agent.git
    cd puppetlabs-puppet_agent
    pdk build
    puppet module install ./pkg/puppetlabs-puppet_agent-version.tar.gz
    
    from the commandline
  2. Install the apply_helpers module in PE. Add the following to your Puppetfile:
    mod 'puppetlabs-apply_helpers'
    
    Or install using the puppet module command:
    puppet module install puppetlabs/apply_helpers
    
  3. Using PE RBAC, grant the ability to run the apply_helpers::custom_facts and apply_helpers::apply_catalog tasks to the users who intend to use this module.

Usage

Configure Bolt to work with PE Orchestrator and run Bolt commands or Tasks from the console.

Reference

This module includes tasks that are invoked automatically by Bolt: apply_helpers::custom_facts and apply_helpers::apply_catalog. These tasks should not be run on their own.