Skip to content

cirrax/puppet-mollyguard

Repository files navigation

molly-guard puppet module

Build Status Puppet Forge Puppet Forge Puppet Forge Puppet Forge

Table of Contents

  1. Overview
  2. Usage
  3. Reference
  4. Contribuiting

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.

See the list of contributors for a list of all contributors.