Re: [Puppet Users] Classes in templates

2010-11-24 Thread Dan Carley
On 23 November 2010 19:27, Dan Bode wrote: > > This is unfortunately true. It's possible that this may work in a future > version. > It's described by this ticket: http://projects.puppetlabs.com/issues/3049 Which you might want to add yourself as a watcher to, Alaric. -- You received this mess

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Nigel Kersten
On Tue, Nov 23, 2010 at 12:07 PM, Stefan Schulte wrote: > I think thats near to impossible. I agree. This kind of information needs to be collected *outside* the puppet run. You could have a fact that reported the number of classes used in the previous puppet run, but that's about it. -- You

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
in retrospect, it might be very presumptuous of me to assume that this use case is covered under futures. On Tue, Nov 23, 2010 at 12:19 PM, Dan Bode wrote: > that's is an interesting example. If we actually did implement futures in > puppet, I would expect that to result in an error. > > > On Tu

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
that's is an interesting example. If we actually did implement futures in puppet, I would expect that to result in an error. On Tue, Nov 23, 2010 at 12:07 PM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote: > On Tue, Nov 23, 2010 at 11:27:58AM -0800, Dan Bode wrote: > > Hi, > > > > On Tue

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Stefan Schulte
On Tue, Nov 23, 2010 at 11:27:58AM -0800, Dan Bode wrote: > Hi, > > On Tue, Nov 23, 2010 at 11:21 AM, Alaric wrote: > > > Hi all! I've been trying to work with classes in my templates, it seems > > like a really useful feature. I'm running on puppet .25.5 from EPEL and > > really wanted to sta

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
Hi, On Tue, Nov 23, 2010 at 11:21 AM, Alaric wrote: > Hi all! I've been trying to work with classes in my templates, it seems > like a really useful feature. I'm running on puppet .25.5 from EPEL and > really wanted to start making use of the ability to pivot on classes that > have been includ

[Puppet Users] Classes in templates

2010-11-23 Thread Alaric
Hi all! I've been trying to work with classes in my templates, it seems like a really useful feature. I'm running on puppet .25.5 from EPEL and really wanted to start making use of the ability to pivot on classes that have been included in the catalog. It *seems* as though the templates are only