thundering_herd_resolver
Version information
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
Add this module to your Puppetfile:
mod 'martyewings-thundering_herd_resolver', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
thundering_herd_resolver
Table of Contents
- Description
- Setup - The basics of getting started with thundering_herd_resolver
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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.
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.
Tasks in this module release
bash_herd_resolver
This Task will restart the puppet agent process in a randomised period between 0 and the currently set runinterval
powershell_herd_resolver
powershell thundering herd script