logo       

Re: ruby error on macosx: msg#00202

sysutils.puppet.user

Subject: Re: ruby error on macosx

On Oct 18, 2007, at 9:23 AM, Chris MacLeod wrote:

> I don't manage any macosx machines but I do run puppet standalone
> to check syntax etc.
>
> I've been getting the following error:
>
> Could not autoload "/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/
> resourceoverride.rb": superclass mismatch for class ResourceOverride

This is usually a load order problem, usually caused by not
explicitly loading the base class or something.

I just looked at the current code (which has been changed a bit) and
it should work in the next release.

For now, can you check that file and make sure it's loading its base
class ('puppet/parser/ast/resource'). If so... I guess we have to
find where else the class is mentioned, but I couldn't find anywhere
else.

> specifically small test pp files still work, though I've found when
> I use parseonly it doesn't catch any syntax errors it always thinks
> they are ok.

Apparently the current version always exits 0. It probably won't if
you use puppet instead of puppetmasterd, but I haven't verified that.

--
We are here on Earth to do good to others. What the others are here
for,
I don't know. -- W. H. Auden
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise