ReleaseEngineering/PuppetAgain/node-scope variables

From MozillaWiki
< ReleaseEngineering‎ | PuppetAgain
Revision as of 16:39, 26 November 2013 by Djmitche (talk | contribs) (→‎Variables Used in PuppetAgain)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax Tips

Node-level variables are a little squirrely in Puppet.

  • In a node declaration, specify all variables before including any classes.
  • When using a node-level variable, use it unqualified, not with a :: prefix or any namespaces, e.g., $extra_root_keys.

Variables Used in PuppetAgain

$extra_root_keys
a list of usernames corresponding to keys in modules/ssh/manifests/keys.pp. Each will allow ssh access to the root account.
$aspects
see ReleaseEngineering/PuppetAgain/Aspects
$slave_trustlevel
see ReleaseEngineering/PuppetAgain/Modules/slave_secrets