Re: [Puppet Users] Errors in 2.6.1

Dan Urist
Tue, 07 Sep 2010 14:47:21 -0000

On Mon, 6 Sep 2010 16:52:05 -0700
Nigel Kersten <nigelk@google.com> wrote:


> I''ve actually always considered this to be relatively
comprehensible.
>
> Client and server start with a clean slate.
> Client requests module X
> Server parses module X via autoloading, complains about parse error.
> Client requests module X
> Server tells you it can''t find it as it''s not going to
reattempt
> parsing unless the file changes.
>
> Does it really impact upon debugging that much?

I''ve also found the inconsistency in the errors very confusing, but
this explanation makes perfect sense.

> What do you think makes more sense? To not present the parsing error
> to the client at all? Or to continuously try and parse manifests even
> though the server thinks that they have a parse error?

Maybe cache the error for consistency if that''s not too much work, or
at
least document the behavior, maybe as a FAQ?


--
Dan Urist
durist@ucar.edu
303-497-2459