ReleaseEngineering/PuppetAgain/Modules/config: Difference between revisions

add reference to supplied-config.csv, for {{bug|758479}}
(add reference to supplied-config.csv, for {{bug|758479}})
Line 10: Line 10:
#: '''optional''', preferably symlinked to an in-repo site specific config file (e.g. <tt>[http://hg.mozilla.org/build/puppet/file/default/manifests/extlookup/seamonkey-config.csv seamonkey-config.csv]</tt>)
#: '''optional''', preferably symlinked to an in-repo site specific config file (e.g. <tt>[http://hg.mozilla.org/build/puppet/file/default/manifests/extlookup/seamonkey-config.csv seamonkey-config.csv]</tt>)
# <tt>default-config.csv</tt>
# <tt>default-config.csv</tt>
#: stored directly in puppet, and should contain defaults suiteable for MoCo (Firefox) environment, sites with different needs should store only necessary differences in <tt>local-config.csv</tt>
#: stored directly in puppet, and should contain reasonable defaults.
# <tt>moco-config.csv</tt>, <tt>seamonkey-config.csv</tt>
#: User-specific configuration (more can be added).  These are generally linked to by local-config.csv.
# <tt>supplied-config.csv</tt>
#: '''optional''' lower precedence than local-config.csv, this can be used for automated creation of config.  Within mozilla we use this to inject configuration from the puppet instance that builds our puppetmasters (don't think about that too hard!)
# <tt>secrets.csv</tt>
# <tt>secrets.csv</tt>
#: Necessarily not stored in hg as this file contains secrets (e.g. password hashes). For simplicity we have a <tt>secrets.csv.in</tt> file in this directory that can be copied over and have the secrets added.
#: Necessarily not stored in hg as this file contains secrets (e.g. password hashes). For simplicity we have a <tt>secrets.csv.in</tt> file in this directory that can be copied over and have the secrets added.
Line 47: Line 51:
'''in manifests'''
'''in manifests'''
  class foo {
  class foo {
   include config
   include ::config
   if ($config::secrets::builder_password == "")
   if ($::config::secrets::builder_password == "")
       fail("missing password")
       fail("missing password")
   }
   }
canmove, Confirmed users
1,394

edits