[bug-notifications] [facter 0004924]: Are Facter and Puppet missing a dependency?J

Mantis Bug Tracker noreply at opencsw.org
Wed Mar 21 13:37:25 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4924 
====================================================================== 
Reported By:                dcjackson
Assigned To:                
====================================================================== 
Project:                    facter
Issue ID:                   4924
Category:                   packaging
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-03-21 01:14 CET
Last Modified:              2012-03-21 13:37 CET
====================================================================== 
Summary:                    Are Facter and Puppet missing a dependency?J
Description: 
I am a newbie to opencsw.  Used Blastwave for a long time....

Anyway, I install my OS via JumpStart
Solaris10 u10 x86.

First I install pkgutil, then puppet (within my jumpstart finish script)

I then try to use faster within my finish script, and get this:

/opt/csw/lib/ruby/site_ruby/1.8/facter/util/config.rb:4:in `require': no
such file to load -- rbconfig (LoadError)
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/util/config.rb:4
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/util/resolution.rb:7:in
`require'
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/util/resolution.rb:7
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/util/fact.rb:2:in `require'
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/util/fact.rb:2
	from /opt/csw/lib/ruby/site_ruby/1.8/facter.rb:21:in `require'
	from /opt/csw/lib/ruby/site_ruby/1.8/facter.rb:21
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/application.rb:5:in `require'
	from /opt/csw/lib/ruby/site_ruby/1.8/facter/application.rb:5:in `run'
	from /opt/csw/bin/facter:60

This problem also occurs after I reboot the machine and log in.

I then did a pkgutil --install ruby18_gcc4

After that completed, faster worked fine.

I am wondering if puppet/facter are missing a dependency?

Of course, I could be doing something wrong, in general, or WRT installing
this stuff within jumpstart.
====================================================================== 

---------------------------------------------------------------------- 
 (0009748) bwalton (administrator) - 2012-03-21 13:37
 https://www.opencsw.org/mantis/view.php?id=4924#c9748 
---------------------------------------------------------------------- 
During the installation of ruby, an rbconfig.rb.sun file is delivered and
the CSWalternatives package is supposed to add a symlink from rbconfig.rb
-> rbconfig.rb.sun.  When you add CSWruby18-gcc4, it delivers
rbconfig.rb.gcc4 and triggers alternatives to update the symlink as it has
higher priority than .sun.

If you're finding that rbconfig can't be loaded, that would make me think
that the alternatives handling isn't being triggered properly during the
jumpstart.

Can you provide the output of: alternatives --display rbconfig18
and
ls -l /opt/csw/lib/ruby/1.8/*solaris2.9/rbconfig.rb*

Right after the installation of facter in your finish script?



More information about the bug-notifications mailing list