On Sun, Sep 26, 2010 at 2:01 PM, Douglas Garstang <doug.garst...@gmail.com> wrote: > On Sun, Sep 26, 2010 at 9:44 AM, Bruce Richardson <itsbr...@workshy.org> > wrote: >> >> On Thu, Sep 23, 2010 at 08:31:26PM +0100, R.I.Pienaar wrote: >> > > I have two sites with a small number of machines at each. Each site >> > > is >> > > functionally identical. I would like to set up a bunch of templates >> > > for the various services at each site, with a handful of variables >> > > that >> > > indicate which site the service is configured for. What would be >> > > "best practice" way to accomplish this in Puppet ? >> > >> > >> > You should consider using extlookup. >> > >> > http://docs.puppetlabs.com/references/2.6.1/function.html#extlookup >> >> Why? It seems odd to be stepping outside the puppet DSL for something >> so basic. > > The same could be said for puppet's awful variable scoping. Should be > simple, but it's not. I'd be dead without extlookup.
Doug, have we got any bug reports or feature requests from you about this yet? -- 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.