ruby_task_helper

pdk
supported
A helper for writing tasks in ruby

309,794 downloads

9,010 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.6.1
  • 0.6.0
  • 0.5.1
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
released May 31st 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, 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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 8.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    ,
    windows

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetlabs-ruby_task_helper', '0.6.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-ruby_task_helper --version 0.6.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

puppetlabs/ruby_task_helper — version 0.6.1 May 31st 2022

Changelog

All notable changes to this project will be documented in this file.

Release 0.6.1

Bug fixes

  • Fix bug in task invocation for authors running bolt with a ruby 3 interpreter.

Release 0.6.0

New features

  • Increase maximum Puppet version to Puppet 8, making the module usable with Puppet 7.

Release 0.5.1

New features

  • Added a debug method to add debugging statements to the details field of a TaskError.

  • Added a debug_statements method to retrieve the current list of debugging statements.

Release 0.4.0

Bug fixes

  • Previously error hashes were not wrapped under an _error key causing bolt to ignore underlying error message. Now error hashes are wrapped under the expected _error key.

Release 0.3.0

Bug fixes

  • Previously only top level parameter keys were symbolized. Now nested keys are also symbolized.

Release 0.2.0

Bug fixes

  • Helper files should go in the files directory of a module to prevent them from being added to the puppet ruby loadpath or seen as tasks.

Release 0.1.0

This is the initial release.