Hi.

I'm a little confused about this piece of information on
http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments
where it says:

======================
Only certain parameters make sense to be configured per-environment, and
all of those parameters revolve around specifying what files to use to
compile a client's configuration. Those parameters are:

    * modulepath: Where to look for modules. It's best to have a
standard module directory that all environments share and then a
per-environment directory where custom modules can be stored.
    * templatedir: Where to look for templates. The modulepath should be
preferred to this setting, but it allows you to have different versions
of a given template in each environment.
    * manifest: Which file to use as the main entry point for the
configuration. The Puppet parser looks for other files to compile in the
same directory as this manifest, so this parameter also determines where
other per-environment Puppet manifests should be stored. With a separate
module path, it should be easy to use the same simple manifest in all
environments.
=======================

Now, it seems the author only sees use in setting those parameters, but
does it also mean that only those parameters can be set inside an
environment?
And if so, wouldn't it also make sense to set "manifestdir" to something
environment specific?

We are thinking about how to use environments to differentiate
production, QA, devel and office servers (which need varying package
versions etc.).

Also: Do I understand the fileserver stuff correctly, so that I could
also have (sort of) environments there?

Like

[files]
....
[production]
....
[qa]
....

etc.?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to