Puppet management for bash

Bounded Infinity



7,666 latest version

2.8 quality score

Version information

  • 0.0.11 (latest)
  • 0.0.10
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
released Jul 8th 2015
This version is compatible with:
  • Debian

Start using this module


bi/bi_bash — version 0.0.11 Jul 8th 2015

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with bash
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module


This modules has to main purposes:

  • Manage the static data associated with the bash package
  • Provide a wrapper around binaries in the bash package that are useful inside Puppet configuration

Module Description

The static data associated with the binaries contained in the bash package are stored in a puppet module data Hiera store. This allows higer level Hiera lookups to override binary paths, configuration files, etc...


puppet module install bi-bi_bash -i /path/to/moudles


Consistent static data

To use the statc data (for instance in another class or define):

define my_define() {
    require bi_bash
    notice("The bash binary is $::bi_bash::exe_path")

This allows an end user a consistent location to obtain the binary paths of executables that will be updated via the module data for each platform (or overridden for custom binaries).

Executable wrappers

The binary wrapper for useful programs contained in bash for example:

define my_define() {
    bi_bash::exec { 'echo $PATH':
        user => 'Some user',

Executes in a login bash shell environment (same as running bash -l) for the given user.


For more information see the projects wiki.



For more information see the projects wiki.