martyewings-agent_run_with_tags


License
Apache-2.0
Install
puppet module install martyewings-agent_run_with_tags --version 1.0.0

Documentation

agent_run_with_tags

Table of Contents

  1. Description
  2. Setup - The basics of getting started with agent_run_with_tags
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

The Task in this module fills a hole in orchestrators native abilities. It allows you to run puppet agent with the --tags options on linux nodes running a bash shell.

By default it requires just one tag to be passed as an option, it allows up to 2. there are also 2 additional optional parameters param1 and param2 which can be used to pass standard puppet agent flags, such as --noop or --debug

Setup

Beginning with agent_run_with_tags

Install the module, the tasks will be populated in the tasks dropdown in the PE console

Usage

This task can be run against any linux node with a bash shell, it has 4 parameters:

tag1 - mandatory the tag you want to run the agent run with tag2 - an optional second tag param1 - an optional param that can be used to pass any agent flag, valid options include --debug --noop --fingerprint param2 - a second optional parameter incase one is not enough

Reference

Limitations

restricted to use on linux platforms with a bash shell

Development