thundering_herd_resolver

pdk
tasks
To alleviate a thundering herd condition,tasks that will randomise the restart of the puppet agent based on the current runinterval
Marty Ewings

Marty Ewings

martyewings

5,922 downloads

2,700 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x
  • Puppet >= 5.3.1 <= 6.0.5
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    ,
    windows
Tasks:
  • bash_herd_resolver
  • powershell_herd_resolver

Start using this module

Documentation

martyewings/thundering_herd_resolver — version 1.0.0 Jul 3rd 2019

thundering_herd_resolver

Table of Contents

  1. Description
  2. Setup - The basics of getting started with thundering_herd_resolver
  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 Contains tasks for Bash and Powershell environments that will alleviate a thundering herd by restarting the Puppet Agent Service at random intervals

When the tasks in this module are run on any given node, they will take the current setting of the parameter "runinterval" and restart the the service randomly within an interval defined as >= and <= runinterval

Setup

Beginning with thundering_herd_resolver

Install the Module, select the task appropriate to the OS Target node the options are:

bash_herd_resolver - for Linux systems running a bash shell powershell_herd_resolver - for windows server systems

Limitations

##Development

Release Notes/Contributors/Etc.

See Release notes Doc

Copyright and License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.