From MozillaWiki
Jump to: navigation, 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.


  • $::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.


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