ReleaseEngineering/PuppetAgain/Modules/shared

From MozillaWiki
< ReleaseEngineering‎ | PuppetAgain‎ | Modules
Revision as of 15:01, 2 August 2012 by Djmitche (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This module is a gathering place for generally useful values, functions, facts and so on. It does *not* contain configuration -- the values here can be dynamic based on the host, but should not depend on the site.

Variables

  • $::shared::lib -- "lib" or "lib64" depending on bitlength (only appropriate on Linux)
  • $::shared::root_group -- the proper group for files owned by root -- wheel on Darwin, root pretty much everywhere else.

Functions

  • base64decode($b64) -- decode a base64-encoded string. This allows short bits of binary data to be handled in ascii text.

Types