I agree it is almost certainly a syntax error.  Do this on your class:
puppet --parseonly <class name>

this will do a quick sanity check. If you want to do more you can also run puppet with nodeamonize mode and debug to see what's wrong.. but I have a feeling that syntax checking will solve it.

-----Original Message----- From: jcbollinger
Sent: Friday, June 24, 2011 3:06 PM
To: Puppet Users
Subject: [Puppet Users] Re: Puppet Class is applied but is not executed



On Jun 24, 7:33 am, christian huber <[email protected]>
wrote:
Hi all,

i' am having a strange problem with a puppet class, basically i wrote
a small class, no special content (ensure packed is installed). I
applied this class to a linuxbox with puppetclient 2.6.4 installed
(and working for the other classes).

So the problem if I'am forcing now the client to get the new
configuration, it does it very well. No error's even with the debug
option. In the /var/lib/puppet directory i take a look at the
classes.txt and i find the new class inside.

So i try to force en error with the class be doing a modifying the
class and adding a parser error. Executing again on the linuxbox the
puppet command, nothing happens. I would now expect a error. But it
looks like puppet just doesn't executed this class.

anyone a idea what i'am missing .. ?


You might be missing a message that Puppet is applying a cached
catalog because the master failed to compile a new one; that's
normally what happens when there is a syntax error in a node's
manifests.

We're missing all details of Puppet's output, whether to the console
or to the system logs.  Also the contents of the manifests involved
and the command you used to run Puppet.


John

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to