Re: [Puppet Users] help for simple patch

2010-01-27 Thread Scott Smith
On 1/27/10 12:28 PM, Arnauld wrote: Anyone know how to access a variable inside a class ? I and many others have overcome this by using Puppet environments. If I make a change to a module, I simply push out another environment and tell clients that need the change to use that environment. A

Re: [Puppet Users] help for simple patch

2010-01-27 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > in every classes I created, I defined a variable (named $version) to > include a kind of versionning inside them. > > In puppetd sources, around network/client/master.rb:293 , the > 'setclasses' function log the classes in a 'classfile' (here : > $s

[Puppet Users] help for simple patch

2010-01-27 Thread Arnauld
Hi, in every classes I created, I defined a variable (named $version) to include a kind of versionning inside them. In puppetd sources, around network/client/master.rb:293 , the 'setclasses' function log the classes in a 'classfile' (here : $statedir/classes.txt). I'd just like to add classes $ve