Forge Home

roulette

Puppet Russian roulette module

7,698 downloads

7,527 latest version

4.6 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

  • 0.1.1 (latest)
  • 0.1.0
released Mar 23rd 2016
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'bryana-roulette', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bryana-roulette
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bryana-roulette --version 0.1.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

bryana/roulette — version 0.1.1 Mar 23rd 2016

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Overview

A module to setup a game of Russian roulette on Linux systems.

Usage

include ::roulette

Reference

###Classes

####Public classes

  • roulette: Installs the Russian roulette script

####Private classes

  • roulette::params: Parameters

###Parameters

#####hit

Optional. Specify the shell script command run on hit. Default: echo "Hit"

#####miss

Optional. Specify the shell script command run on miss. Default: echo "Miss"

#####owner

Optional. Specify the shell script user owner. Default: root

#####group

Optional. Specify the shell script group owner. Default: root

#####mode

Optional. Specify the shell script file mode. Default: 0755

#####chance

Optional. Specify the chance of hit. Default: 6

#####filename

Optional. Specify the shell script file name. Default: /etc/profile.d/puppet_roulette.sh

Limitations

This is a Linux only puppet module.

Development

See CONTRIBUTING.md