Thanks. On Fri, Dec 30, 2011 at 12:51 PM, Aaron Grewell <aaron.grew...@gmail.com> wrote: > You get only the host name from the agent. When I did this using a > YAML-based ENC I checked each environment directory in turn for a file > matching the hostname and just made sure to only create it in the > proper place. > > On Fri, Dec 30, 2011 at 12:29 PM, Douglas Garstang > <doug.garst...@gmail.com> wrote: >> I'm using external nodes. I wanted to break up the node files into >> directories based on say, the environment, dev, prod etc. Does puppet >> set anything besides the host name when it calls the external node >> script, such as the environment? Are these variables available as >> environment variables ? >> >> Doug >> >> -- >> 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. >> > > -- > 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. >
-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 -- 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.