ReleaseEngineering/PuppetAgain/node-scope variables
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
- $is_mozpool_admin_host
- set this to true for the mozpool node that should do administrative tasks.
- $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.