[Puppet Users] How to conditionally include classes based on environment?

2010-02-23 Thread ascodemus
Hi, I'm new to puppet (doing an assesment of the puppet features currently) and I believe many of you can tell me how to resolve these questions I'm unable to find answers for. I have the "Pulling Strings with Puppet"-book and have been crawling through the reductivelabs puppet wiki-pages without a

[Puppet Users] Re: How to conditionally include classes based on environment?

2010-02-25 Thread ascodemus
Hi Tim and thanks for the replies. The code snippet for the facter will probably turn out to be very welcome. Regarding the generate function: > > Q2) Is it possible to pass information (e.g. string) i.e. an output of > > an “exec” execution on a puppet-client and store this information into > >