ReleaseEngineering/PuppetAgain/node-scope variables: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
;$extra_root_keys: a list of usernames corresponding to keys in <tt>modules/ssh/manifests/keys.pp</tt>. Each will allow ssh access to the root account. | ;$extra_root_keys: a list of usernames corresponding to keys in <tt>modules/ssh/manifests/keys.pp</tt>. Each will allow ssh access to the root account. | ||
;$aspects: see [[ReleaseEngineering/PuppetAgain/Aspects]] | ;$aspects: see [[ReleaseEngineering/PuppetAgain/Aspects]] | ||
;$ | ;$slave_trustlevel: see [[ReleaseEngineering/PuppetAgain/Modules/slave_secrets]] |
Latest revision as of 16:39, 26 November 2013
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