You can use a wrapper for the external nodes script, that will intercept the YAMl from Dashboard and attach an environment to the YAML.
You can put logic in there that says: "if hostname =~ xyz, then environment = production" (Or whatever criteria you want, instead of hostname) Foreman can do this out of the box, if you would rather not bother with a wrapper. This is a bit of a hack, but can help you have two manifiest directories on a single puppetmaster, based on the environment. On Jul 30, 8:36 am, Ben Tullis <b...@tiger-computing.co.uk> wrote: > Hi Rein, > > OK, thanks for letting me know. > > I will press on with setting the environment with a suitable parameter > then. > > Kind regards, > Ben > > On Jul 30, 4:21 pm, Rein Henrichs <r...@reductivelabs.com> wrote: > > > Excerpts from Ben Tullis's message of Fri Jul 30 04:29:46 -0700 2010: > > > > Why doesn't the dashboard understand which environment applies to the > > > host, and return that in the yaml output? > > > > Is this something that is better handled another way, or is it on the > > > roadmap for the puppet dashboard? > > > Hi Ben, > > > Dashboard doesn't currently handle environments but it is on the > > roadmap. > > > Rein Henrichshttp://puppetlabs.com > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.