Issue #6209 has been updated by Andrew Parker.

As the 2.7.x line is winding down, I am removing the target at 2.7.x from 
tickets in the system. The 2.7 line should only receive fixes for major 
problems (crashes, for instance) or security problems.
----------------------------------------
Bug #6209: Puppet should not change error messages on second run
https://projects.puppetlabs.com/issues/6209#change-80512

Author: Nico Schottelius
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: usability
Branch: 


Hello!

This is a long outstanding bug I've always forgot to report: Puppet changes the 
error message from

    Syntax error at 'libxerces-c-dev'; expected ']' at

to

    Could not find class ethz_systems::packages in namespaces ethz_systems at

I was told that this happens, because puppetmaster unloads the class as soon as 
it sees a syntax error.
This may be a valid behaviour internally, but it completly destroys the 
abilitiy to debug the origin of the
error.

Thus everytime I see the

    Could not find class

error, I'm forced to restart puppet and watch the logfile to find the origin. 
This is cumbersome, misleading and time-consuming.

Thus I propose to always report the first error, because the second one just 
confuses users.

Cheers,

Nico



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to