ReleaseEngineering/PuppetAgain/Modules/shared: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 4: Line 4:
* $::shared::lib -- "lib" or "lib64" depending on bitlength (only appropriate on Linux)
* $::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.
* $::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.

Revision as of 15:37, 31 July 2012

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.