ReleaseEngineering/PuppetAgain/Modules/shellprofile

From MozillaWiki
< ReleaseEngineering‎ | PuppetAgain‎ | Modules
Revision as of 14:59, 2 April 2013 by Djmitche (talk | contribs) (Created page with "This module adds snippets to the default shell profile on a host. This profile is sourced by most user shells when the start up, so this is a good way to add a PATH entry or ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This module adds snippets to the default shell profile on a host. This profile is sourced by most user shells when the start up, so this is a good way to add a PATH entry or set some other environment variable for all users. This should only be used to set up user environments, not for production code -- production code should have its environment configured explicitly, if needed.

Usage:

 shellprofile::file {
   "mystuff-path":
     content => "PATH=/opt/mystuff/bin:\$PATH";
 }