https://github.com/cirrax/puppet-mollyguard
A puppet module to configure molly-guard
https://github.com/cirrax/puppet-mollyguard
debian molly-guard puppet puppet-forge reboot reboots
Last synced: 8 months ago
JSON representation
A puppet module to configure molly-guard
- Host: GitHub
- URL: https://github.com/cirrax/puppet-mollyguard
- Owner: cirrax
- License: gpl-3.0
- Created: 2018-07-28T19:28:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T23:04:25.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T15:51:26.815Z (over 1 year ago)
- Topics: debian, molly-guard, puppet, puppet-forge, reboot, reboots
- Language: Ruby
- Homepage: https://forge.puppet.com/cirrax/mollyguard
- Size: 81.1 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# molly-guard puppet module
#### Table of Contents
1. [Overview](#overview)
1. [Usage](#usage)
1. [Reference](#reference)
1. [Contribuiting](#contributing)
## Overview
This module is used to configure molly-guard, which protects machines from accidental shutdowns/reboots
## Usage
To start using molly-guard you need to include the mollyguard.
A minimal example might be:
~~~
class{'mollyguard'}
~~~
Several defines can be used to add additional checks to run before reboot.
## Reference
Find documentation about possible parameters on top of each manifest and in the
REFERENCE.md file.
### classes
#### mollyguard
The main class to install mollyguard
### defined types
#### mollyguard::check::ceph
a define to add an additional check if a ceph cluster is healthy
#### mollyguard::check::drbd
a define to add an additional check if all drbd resources are in sync
#### mollyguard::check::libvirt
a define to add an additional check if no libvirt VM's are running
#### mollyguard::checks::repmgr\_postgres
a define to add an additional check for repmgr postgres synchronisation
## Contributing
Please report bugs and feature request using GitHub issue tracker.
For pull requests, it is very much appreciated to check your Puppet manifest with puppet-lint
and the available spec tests in order to follow the recommended Puppet style guidelines
from the Puppet Labs style guide.
### Authors
This module is mainly written by [Cirrax GmbH](https://cirrax.com).
See the [list of contributors](https://github.com/cirrax/puppet-mollyguard/graphs/contributors)
for a list of all contributors.