Initial setup problems on Ubuntu edgy (06.10)

Adrian Phillips
Sun, 30 Sep 2007 12:12:20 -0000

Good day,

  After having lurked for a while I''ve decided to actually start using
  puppet starting on my small home network. I''ve been following :

   http://reductivelabs.com/trac/puppet/wiki/InstallationGuide

  and :-

    http://www.howtoforge.com/installing_puppet_on_ubuntu

  to test puppet on 2 hosts, librarian running the puppetmasterd and
  mortvm.

  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>
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/mount/parsed.rb": undefined method
`set_options'' for #<Puppet::Util::FileParsing::FileRecord:0xb76a7bd0
@type=:text>
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/sshkey/parsed.rb": undefined method
`set_options'' for #<Puppet::Util::FileParsing::FileRecord:0xb76a0da8
@type=:text>
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/cron/crontab.rb": undefined method
`set_options'' for #<Puppet::Util::FileParsing::FileRecord:0xb7696e5c
@type=:text>
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/package/fink.rb": undefined method
`has_feature'' for Puppet::Type::Package::ProviderFink:Class
Could not autoload "/usr/lib/ruby/1.8/puppet/provider/package/rug.rb":
undefined method `has_feature'' for
Puppet::Type::Package::ProviderRug:Class
/usr/local/lib/site_ruby/1.8/puppet/provider.rb:52: warning: multiple values for
a block parameter (2 for 1)
        from /usr/lib/ruby/1.8/puppet/provider/package/urpmi.rb:7
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/package/urpmi.rb": can''t
convert Array into String
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/package/aptrpm.rb": undefined
method `has_feature'' for Puppet::Type::Package::ProviderAptrpm:Class
Could not autoload
"/usr/lib/ruby/1.8/puppet/provider/user/directoryservice.rb":
undefined method `has_feature'' for
Puppet::Type::User::ProviderDirectoryservice:Class
/usr/lib/ruby/1.8/puppet/util/subclass_loader.rb:22:in
`handle_subclasses'': uninitialized constant Puppet::Util::Autoload
(NameError)
        from /usr/lib/ruby/1.8/puppet/network/client.rb:42
        from /usr/sbin/puppetd:159

  This is with the following packages (downloaded from debian sid) :-

ii  facter                 1.3.8-1                a library for retrieving facts
from operating systems
ii  libopenssl-ruby        1.0.0+ruby1.8.2-1      OpenSSL interface for Ruby
ii  libopenssl-ruby1.8     1.8.4-5ubuntu1.2       OpenSSL interface for Ruby 1.8
ii  libshadow-ruby1.8      1.4.1-7                Interface of shadow password
for Ruby 1.8
ii  libxmlrpc-ruby         1.8.2-1                XML-RPC support for Ruby
ii  puppet                 0.23.2-10              centralised configuration
management for networks
ii  ruby                   1.8.2-1                An interpreter of
object-oriented scripting language Ruby
ii  ruby1.8                1.8.4-5ubuntu1.2       Interpreter of object-oriented
scripting language Ruby 1.8

  I''ve just tested this on a Ubuntu feisty host and it doesn''t
give
  this error so it would seem to indicate some problems with
  (presumably newer versions of) puppet on Ubuntu edgy.

  Can anyone else confirm (or deny) this before I report a bug.

Sincerely,

Adrian Phillips

--
Who really wrote the works of William Shakespeare ?