Forge Home

thundering_herd_resolver

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

7,863 downloads

87 latest version

5.0 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.1 (latest)
  • 1.0.0
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Apr 24th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 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
  • Puppet >= 5.3.1 <= 9.0.0
  • , , , , , ,
Tasks:
  • bash_herd_resolver
  • powershell_herd_resolver

Start using this module

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

Add this module to your Puppetfile:

mod 'martyewings-thundering_herd_resolver', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install martyewings-thundering_herd_resolver --version 1.0.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

martyewings/thundering_herd_resolver — version 1.0.1 Apr 24th 2024

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.