Issue #7441 has been updated by R.I. Pienaar.

fwiw, getting mcollective running from zero to all done and built on opensuse 
with files installed in 100% the correct places, with client libraries 
functional etc.

<pre>
# zypper install ruby
# rpm -ivh 
http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_11.3/x86_64/rubygems-1.5.2-23.1.x86_64.rpm
# rpm -ivh 
http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_11.3/x86_64/rubygem-stomp-1.1.6-1.26.x86_64.rpm

# zypper install git rubygem-rake


# git clone git://github.com/puppetlabs/marionette-collective.git 
# cd marionette-collective
# git checkout 1.2.0
# rake rpm
# cd build
# rpm -ivh mcollective-1.2.0-6.noarch.rpm mcollective-client-1.2.0-6.noarch.rpm 
mcollective-common-1.2.0-6.noarch.rpm
</pre>

Service starts and runs:

<pre>
# /etc/init.d/mcollective restart
Shutting down mcollective:        done
Starting mcollective:             done

# ps auxw|grep mcoll
root      5264  0.0  0.1  58552  9496 ?        S    17:44   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
</pre>

and the client works fine:

<pre>
# mco
The Marionette Collective version 1.2.0

/usr/bin/mco: command (options)

Known commands: rpc ping help inventory facts controller find
</pre>
----------------------------------------
Bug #7441: /etc/init.d/mcollective fix
https://projects.puppetlabs.com/issues/7441

Author: Adam Edwards
Status: Needs More Information
Priority: Normal
Assignee: R.I. Pienaar
Category: Packaging
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 


In SLES 11, the RUBYLIB dir is a little different than RedHat.   Would you be 
able to make the following code change so that it works on SLES out of the box?



/etc/init.d/mcollective script as follows:

Old:
RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB

New:
RUBYLIB=/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/site_ruby/1.8:$RUBYLIB



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to