Re: Initial setup problems on Ubuntu edgy (06.10)

Matthew Palmer
Sun, 30 Sep 2007 22:36:43 -0000

On Sun, Sep 30, 2007 at 02:12:20PM +0200, Adrian Phillips
wrote:
>   Unfortunately, I didn''t get very far; whilst trying to obtain a
cert
>   for mortvm I''ve received the following errors :-
>
> adrian@mort:~$ sudo puppetd --server librarian --waitforcert 60 --test
> Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/host/parsed.rb":
> undefined method `set_options'' for
> #<Puppet::Util::FileParsing::FileRecord:0xb76cb684 @type=:text>

That is a *weird* error.  It''s almost as if there''s two
completely separate
installations of Puppet fighting each other.  Is this a clean Edgy install
that''s just had the Puppet packages installed on top, or one
that''s perhaps
been experimented on before?

Try running ''find / -name puppetd'' and ''find / -name
methodhelper.rb'' and
see if you get more than one result for either of those.  Also, try
hard-coding the path to puppetd (/usr/sbin/puppetd) when you''re running
it
on the command line and see if that fixes the problem (since it''s using
the
packaged files for the libraries).

I''ve got Puppet running on Dapper and Edgy boxes, and I''ve
also seen reports
from others that it''s working on Edgy.  PEBKAC seems the most likely
option
at this stage.

- Matt

--
"I''m tempted to try Gentoo, but then I learned that its installer
is in
Python, and, well, a base Python install on my system is something like
fifty megabytes (for what?  oh, right, we NEED four XML libraries, I
forgot)."  -- Dave Brown, ASR