Skip to content

Puppet module to manage bash profiles

Notifications You must be signed in to change notification settings

amsibamsi/puppet-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Puppet module to manage bash profiles

Resources

Stars

Watchers

Forks

Packages

No packages published