Changes

Jump to: navigation, search

ReleaseEngineering/PuppetAgain

966 bytes added, 16:53, 9 May 2013
Documentation - Manifests & Modules
== Nodes ==
<tt>manifests/nodes.pp</tt> defines all of the nodes the puppet masters recognize. Note that all nodes are defined for all masters. This file is a symlink to <tt>$org-nodes.pp</tt>, e.g., <tt>moco-nodes.pp</tt>. With this arrangement, each organization can make node changes without any risk to other organizations.
In anticipation of using an external node classifier (ENC), node definitions should only include classes - do not define any resources within nodes. In general, the included classes should be in the [[ReleaseEngineering/Puppet/Modules/toplevel|toplevel]] module.
Host-specific values are specified as node-scope variables, as these are easier to represent in an ENC. Such variables (including some Puppet gotchas) are described in [[ReleaseEngineering/PuppetAgain/node-scope variables|node-scope variables]].
== extlookup/ Configuration ==
We store Per-organization configuration is read from <tt>csvmanifests/config.pp</tt> files pertaining , which is a symlink to the <tt>[[ReleaseEngineering/Puppet/Modules/$org-config|Config]].pp</tt> module here (under , similar to that for nodes. The <tt>manifests/extlookup/config.pp</tt>)file defines a "config" class that inherits from "config::base". Expect It is free to find express the local secrets details and possibly a symlink configuration using any mechanism available to puppet. For some organizations, simple puppet literals will do, while more complex organizations will want to a local-perform some more sophisticated automatic generation of configuration. See [[ReleaseEngineering/PuppetAgain/Modules/config|config in this dir]] for more.
== Secrets ==
Secret values are stored in <tt>manifests/extlookup/secrets.csv</tt>, which should be based on <tt>secrets-template.csv</tt>. Of course, this file should not be checked into version control! The values in the file are read for use by the <tt>secret</tt> function. See [[ReleaseEngineering/PuppetAgain/Modules/config|config]] for a description of this function, noting that it also interacts with [[ReleaseEngineering/PuppetAgain/Aspects|aspects]].
= How To =
Canmove, confirm
1,394
edits

Navigation menu