mollyguard

pdk
A module to configure molly-guard

18,535 downloads

313 latest version

5.0 quality score

Version information

  • 1.2.2 (latest)
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Mar 2nd 2025
This version is compatible with:
  • Puppet Enterprise 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, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.0.0 < 8.0.0
  • Debian
    ,
    Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'cirrax-mollyguard', '1.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add cirrax-mollyguard
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install cirrax-mollyguard --version 1.2.2

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

cirrax/mollyguard — version 1.2.2 Mar 2nd 2025

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.