Forge Home

roulette

Puppet Russian roulette module

7,260 downloads

7,151 latest version

4.6 quality score

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