[Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Ben
Great - thanks for the feedback - working as expected now. Thanks again all! On 29 Dec, 17:27, Michael Gliwinski wrote: > On Tuesday 29 December 2009 16:30:58 Ben wrote: > > > ok so just to confirm, if I understand correctly classes will not be > > evaluted unless they are used within an include

Re: [Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Michael Gliwinski
On Tuesday 29 December 2009 16:30:58 Ben wrote: > ok so just to confirm, if I understand correctly classes will not be > evaluted unless they are used within an include. yes > I've restored my site.pp so now it's go two classes, "files1" and > "files2" both managing file resources. > > I've also

Re: [Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Dan Bode
On Tue, Dec 29, 2009 at 5:30 PM, Ben wrote: > ok so just to confirm, if I understand correctly classes will not be > evaluted unless they are used within an include. > > I've restored my site.pp so now it's go two classes, "files1" and > "files2" both managing file resources. > > I've also specif

[Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Ben
ok so just to confirm, if I understand correctly classes will not be evaluted unless they are used within an include. I've restored my site.pp so now it's go two classes, "files1" and "files2" both managing file resources. I've also specified all nodes using the default node function, all nodes s

[Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Ben
The behaviour I'm expecting is that if there are no node definitions then all resources and classes would be applied to all nodes but it's not. As for you're question, yes when I define a node (or use the default node function) and with a include class then it works. On 29 Dec, 15:59, Julian Si

Re: [Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Julian Simpson
Have you declared any nodes and included that class? node default { include files1 } 2009/12/29 Ben : > Just to add some addtional detal about which versions I'm using > > [r...@xldn1784dis puppet]# puppetmasterd --version > 0.24.5 > [r...@xldn1784dis puppet]# puppetd --version > 0.24.5 > [r

[Puppet Users] Re: Class not compiled - help!

2009-12-29 Thread Ben
Just to add some addtional detal about which versions I'm using [r...@xldn1784dis puppet]# puppetmasterd --version 0.24.5 [r...@xldn1784dis puppet]# puppetd --version 0.24.5 [r...@xldn1784dis puppet]# ruby --version ruby 1.8.5 (2006-08-25) [x86_64-linux] [r...@xldn1784dis puppet]# facter --version