mod_upgrade_check

pdk
tasks
This bolt plan assesses the complexity of modules installed on the Puppet master.
liamjohnsexton

liamjohnsexton

liamjohnsexton

1,549 downloads

926 latest version

5.0 quality score

Version information

  • 0.3.1 (latest)
  • 0.3.0
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
released May 21st 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, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
Tasks:
  • get_code_environments
  • get_current_directory
  • get_module_complexity
  • get_modules_per_environment
  • get_roles_and_profiles
  • mkdir_p_file
Plans:
  • grab_module_info

Start using this module

Documentation

liamjohnsexton/mod_upgrade_check — version 0.3.1 May 21st 2020

mod_upgrade_check

Table of Contents

  1. Description
  2. Setup - The basics of getting started with mod_upgrade_check
  3. Usage
  4. Limitations
  5. Development

Description

Knowing the complexity of the modules installed on your Puppet estate is essential to any successful Puppet migration. This provides information about the modules contained in each of your code environments.

Setup

What mod_upgrade_check affects

This module does not affect any of your Puppet estate. It simply reads the Puppet master and outputs its observations to CSV files.

Setup Requirements

Please ensure you have the credentials to log into the root of the Puppet master of your estate.

Beginning with mod_upgrade_check

The bolt plan: "grab_module_info" is the only item that needs to be run in order to obtain module complexity for each code environment. The CSV files that come from each task that is run are outputted to folders named after each code environment.

Usage

To run this module, run the following command from your local workstation, with the Puppet master being your target:

bolt plan run mod_upgrade_check::grab_module_info --targets <fqdn of PE_master> --user <username> --private-key <key> --run-as root

The CSV files produced are saved into folders for each code environment to your local workstation.

These folders are created in the the directory you have run the command from.

Limitations

As mentioned previously, the plan should only be run from your local workstation in order to obtain full value from the module.

Development

For any assistance in using or understanding this module, please contact: liam.sexton@puppet.com