Forge Home

agent_service_controller_tasks

Contains Tasks Which allow the user to enable/disable the puppet agent service

19,210 downloads

8,656 latest version

4.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.0 (latest)
  • 0.1.1
  • 0.1.0
released Apr 5th 2019
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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • , , , , , , ,
Tasks:
  • disable_agent_bash
  • disable_agent_windows
  • enable_agent_bash
  • enable_agent_windows

Start using this module

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

Add this module to your Puppetfile:

mod 'martyewings-agent_service_controller_tasks', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add martyewings-agent_service_controller_tasks
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install martyewings-agent_service_controller_tasks --version 1.0.0

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

martyewings/agent_service_controller_tasks — version 1.0.0 Apr 5th 2019

agent_service_controller_tasks

Table of Contents

  1. Description
  2. Setup - The basics of getting started with agent_service_controller_tasks
  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

This Module Provides Tasks for controlling the puppet agent service on Windows and Linux

The Tasks allow you to disable the service, with a comment, and to enable it again at a later date

Setup

Beginning with agent_service_controller_tasks

Installing this module will populate the tasks available in the PE Console

Usage

For Windows node select the windows version of the tasks, for Linux select bash.

disable will accept a description string as to why the service was disabled enable will reenable the service

These tasks produce no output

Reference

Users need a complete list of your module's classes, types, defined types providers, facts, and functions, along with the parameters for each. You can provide this list either via Puppet Strings code comments or as a complete list in the README Reference section.

  • If you are using Puppet Strings code comments, this Reference section should include Strings information so that your users know how to access your documentation.

  • If you are not using Puppet Strings, include a list of all of your classes, defined types, and so on, along with their parameters. Each element in this listing should include:

    • The data type, if applicable.
    • A description of what the element does.
    • Valid values, if the data type doesn't make it obvious.
    • Default value, if any.

Limitations

Limited to OS's with a bash shell or powershell available

Development