Anselm Strauss

anselm

9,124 downloads

9,124 latest version

1.5 quality score

Version information

  • 0.0.1 (latest)
released Jan 2nd 2011

Start using this module

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