Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

puppetdb_fact

Table of Contents

  1. Description
  2. Requirements
  3. Usage
  4. Reference

Description

This module provides the puppetdb_fact plan, which collects facts for the specified targets from the configured PuppetDB connection and stores the collected facts on the Targets. The updated facts can then be accessed using mytarget.facts.

Requirements

This module is compatible with the version of Puppet Bolt it ships with.

Usage

To collect facts for a set of targets using the puppetdb_fact plan, run:

bolt plan run puppetdb_fact --targets target1.example.com,target2.example.com

To run the puppetdb_fact plan from another plan run

run_plan(puppetdb_fact, targets => $targets )

Parameters

  • targets - The targets to collect and store facts from puppetdb for.

Reference