Comment 0 for bug 884908

Revision history for this message
Peter Sankauskas (pas256) wrote :

This is actually a bug report for mcollective, mcollective-middleware and mcollective-client.

The package dependencies need to be looked at because as they stand now on Ubuntu 11.10 oneiric, they are not correct.

What I have discovered so far is:

mcollective-middleware need to depend on mcollective, otherwise the directory /etc/mcollective is not created.

At least mcollective-client needs to depends on 'rubygems'. Without it you receive the following:
$ mc-find-hosts
/usr/lib/ruby/1.8/mcollective.rb:1:in `require': no such file to load -- rubygems (LoadError)
    from /usr/lib/ruby/1.8/mcollective.rb:1
    from /usr/sbin/mc-find-hosts:3:in `require'
    from /usr/sbin/mc-find-hosts:3

I believe mcollective-middleware also needs to depend on rubygems, because the above error was replaced with "silence" after installing rubygems. Once I restarted the mcollective service, silence was replaced with the correct functionality.

Please let me know if you need more information.

Peter