Forge Home

9,969 downloads

9,969 latest version

1.5 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.0.1 (latest)
released Jan 2nd 2011

Start using this module

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

Add this module to your Puppetfile:

mod 'anselm-bash', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add anselm-bash
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install anselm-bash --version 0.0.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
Tags: shell, bash

Documentation

anselm/bash — version 0.0.1 Jan 2nd 2011

puppet-bash

Description

Deploys a set of bash initialization and profile files to etc/. In each profile one can query if the shell is a login shell, if it is interactive and if the profile has already been sourced by a parent shell. Profile files can be created either globally or per user, settings per user take precedence over global ones.

Dependencies

  • Tested with Puppet 2.6 and Bash 3/4
  • Targeted for FreeBSD, for other systems path names and example profiles can easily be modified. Default is to deploy everything to /usr/local/etc/bash.

Usage

Copy the files from /usr/local/etc/bash/skel to your user home (preserving symbolic links) and start a new shell. Then, place profile files either in /usr/local/etc/bash/profiles or ~/.bash_profiles.

Details

There is a nice blog article ;-)

Written By

Anselm Strauss