Forge Home


Module for quick collection of Puppet Enterprise infrastructure master information


821 latest version

5.0 quality score

Version information

  • 2.3.4 (latest)
  • 2.3.1
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.2
  • 2.0.0
  • 1.2.3
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
released Oct 1st 2021
This version is compatible with:
  • Puppet Enterprise 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 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, 2016.4.x
  • Puppet >= 4.10.12 < 8.0.0
  • , , ,
  • data_collect

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetlabs-pe_quick_data', '2.3.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-pe_quick_data
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-pe_quick_data --version 2.3.4

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.



puppetlabs/pe_quick_data — version 2.3.4 Oct 1st 2021

Module for quick data collection of Puppet Enterprise environment


The plan in this repo will quickly collect data from a Puppet Enterprise server to be used for understanding the environment better and providing the customer with value as a baseline moving forward. Plans and tasks included in this module can be run using either Puppet Bolt or Puppet Enterprise Plans and/or Tasks. Thanks to the repository at for providing support script parts of the data collect.

For a review of the data collected as part of the module please see the documentation located at

WARNING: When running this module and have the puppet metrics collector module running, ensure that the puppet metrics module is at version 6.1.0 or later. If not, file sizes of the pe_quick_data output will typically be >10 GBs in size or larger. To avoid this issue, upgrade the puppetlabs/puppet_metrics_collector to version 6.1.0 or higher when using version 6 of the collector. Versions 5.3.0 and below are not affected.


  • If running the module from an admin workstation, Puppet Bolt version 2 or higher when using Bolt to execute the plan via command line
  • Puppet Enterprise master server with bash capabilities for collecting data
  • The module can be run from the Puppet Enterprise 2019 or higher console through PE Plans
  • Root/su authentication to the PE Master that data is collected from is required

Setup for using the module - Bolt

  1. Use module from the forge by adding the module to your Boltdir directory Puppetfile.

    mod 'puppetlabs-pe_quick_data', '2.3.4'
  2. Run bolt puppetfile install from the Boltdir directory where the Puppetfile is located.

  3. Save inventory.yaml file with PE master defined for the environment into the same Boltdir directory.

  4. The default directory for the data collection is currently /var/tmp/pe_quick_data on the Puppet Enterprise master, but this can be changed at run time.

  5. If an alternate directory is specified for the data collection through the outputdir parameter, the folder pe_quick_data will be created on the PE master, in the alternate directory.

Setup for using the module - Puppet Enterprise (PE) 2019 or higher

  1. Use the module from the forge by adding the module to your Puppetfile in the appropriate environment.
  2. Deploy the updated Puppetfile to the environment via your current deployment method.
  3. Run the pe_quick_data::data_collect plan using Plans in PE.
    1. Specify the PE master as the target and optionally specify the output_dir location.

Bolt Plan Use

To use the plan run bolt plan run pe_quick_data::data_collect with --targets specified to point to the master or masters for Puppet Enterprise

Parameters for use with the plan

output_dir - specifies the directory where the pe_quick_data directory will be created.

  • This uses tar and gzip to zip the data into a file and will be left in the output_dir.
  • The default directory is /var/tmp/ and a tar.gz file is placed within pe_quick_data directory in the default directory.
  • It is an optional parameter at run time. If not specified, the default directory output will be used.

enable_logs - specifies whether or not to include the support script log output

  • To enable, specifiy enable_logs=true when running the plan
  • It is an optional parameter at run time. If not specified, support script logs are not included.
  • If enabled_logs=true, the size of the output will be increased to a potentially large size.

download - allows for downloading to the Boltdir/downloads directory from where the plan is run

  • To download the file to the Boltdir/downloads directory, specifiy download=true when running the plan
  • It is an optional parameter at run time. If not specified, the file will not be downloaded to Boltdir/download
  • Be aware that downloading the file to the Boltdir/downloads directory will delete all other downloads in that directory
  • The download parameter requires version 2.20 of bolt or higher

Plan Use Examples

Run data collection with default output directory

bolt plan run pe_quick_data::data_collect --targets

Run data collection with default output directory with no inventory.yaml

bolt plan run pe_quick_data::data_collect --targets --user <USER> --private-key <KEY_PATH> --transport ssh --no-host-key-check --run-as root

Run data collection specifying an alternate output_dir

bolt plan run pe_quick_data::data_collect --targets output_dir=/tmp/

Run data collection and include support script logging

bolt plan run pe_quick_data::data_collect --targets enable_logs=true