ReleaseEngineering/PuppetAgain/node-scope variables

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