Forge Home

bolt_pe

This modules delivers tasks and plans from open source bolt to be usable on Puppet Enterprise

433 downloads

367 latest version

5.0 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.

Version information

  • 1.0.1 (latest)
  • 1.0.0
released Jun 22nd 2022
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • , , , , , , ,
Tasks:
  • get_targets_from_node_groups
  • terrafom_apply
  • terrafom_destroy
  • terrafom_initialize
  • terrafom_output
Plans:
  • get_node_groups
  • terraform_apply
  • terraform_destroy

Start using this module

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

Add this module to your Puppetfile:

mod 'betadots-bolt_pe', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add betadots-bolt_pe
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install betadots-bolt_pe --version 1.0.1

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

betadots/bolt_pe — version 1.0.1 Jun 22nd 2022

bolt_pe

This modules delivers extensions to be used with Puppet Enterprise.

Table of Contents

  1. Description
  2. Setup - The basics of getting started with bolt_pe
  3. Usage - Configuration options and additional functionality

Description

Tasks and Plans

Terraform

On Puppet Enterprise the terraform tasks and plans are not available. These are only available within Bolt Open Source.

This module delivers the terraform tasks and plans and places them under a new namespace: bolt_pe

Get Targets from Node Groups

On Puppet Enterprise on can group servers into node groups. This module provides a task which will read an exusting node group and return the nodes from the provided node group.

Usage is straight forward like an other Puppet Task:

plan foo (
  Enum['All Nodes', 'Production Environment'] $node_group,
  String $puppet_server,
) {
  $targets = run_task('bolt_pe::get_targets_from_node_groups', $puppet_server, 'node_group' => $node_group)
  $targets.each |$target| {
    # ...
  }
}

Setup

Setup Requirements

This module needs the puppetlabs-ruby_task_helper module.

Beginning with bolt_pe

Bolt_pe has no Puppet classes. It only consists of tasks, plans and functions.

Usage

Add this module and the ruby_task_helper module to your Puppet Enterprise Server. This can be achieved by adding the modules to your control-repo Puppetfile.

Afterwards you should see the tasks in Puppet Enterprise console.