Forge Home

puppeteer

A variety of tasks using Puppet.

15,458 downloads

7,403 latest version

4.6 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

  • 0.1.8 (latest)
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4 (deleted)
  • 0.1.3
  • 0.1.2
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
released Oct 19th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x
  • Puppet >= 5.3.2 < 6.0.0
  • , , ,
Tasks:
  • apply
  • external_fact

Start using this module

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

Add this module to your Puppetfile:

mod 'WhatsARanjit-puppeteer', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add WhatsARanjit-puppeteer
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install WhatsARanjit-puppeteer --version 0.1.3

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

WhatsARanjit/puppeteer — version 0.1.3 Oct 19th 2017

Puppeteer

Table of Contents

  1. Overview
  2. Tasks

Overview

A variety of tasks using Puppet.

Tasks

puppeteer::apply

Run inline Puppet code

puppet task run puppeteer::apply --nodes 'node1'  code='notify { $fqdn: }'

Run Puppet code from a manifest in noop mode

puppet task run puppeteer::apply --nodes 'node1'  manifest='/tmp/fqdn.pp' --noop

puppeteer::external_fact

Create a datacenter fact in datacenter.txt

puppet task run puppeteer::external_fact --nodes 'node1' fact=datacenter value=us-east

NOTE: If no file is specified, $fact.txt is used.

Create a role fact in server.yaml

puppet task run puppeteer::external_fact --nodes 'node1' fact=role value=default file=server.yaml

Remove an existing fact from config.json

puppet task run puppeteer::external_fact --nodes 'node1' fact=repo_server action=remove file=config.json

NOTE: Keys will be overwritten, not merged.