OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005222 [puppet] regular use minor always 2014-12-08 02:57 2014-12-24 10:46
Reporter mj View Status public  
Assigned To tosmi
Priority normal Resolution fixed  
Status resolved  
Summary 0005222: CSWpuppet broken in unstable
Description The current version of puppet in unstable ( 2.7.23,REV=2013.08.15 ) is broken as it is built against ruby 1.8 and the facter package was updated ( 1.7.6,REV=2014.11.12 ) and it was built against ruby 2.0. The puppet code requires the facter code, but it looks in /opt/csw/lib/ruby/site_ruby/1.8 and the facter code is in /opt/csw/lib/ruby/site_ruby/2.0
Additional Information As a temporary workaround I've reverted to installing from stable. I've marked this a minor because working packages are available via stable, but if this is not corrected before the packages get promoted to stable, it would be a different story.

I suspect that is is related to the puppet3 packages being updated. If the puppet package can also be built against ruby 2.0 then that would be the shortest path to resolution. If not, it probably means needing a separate facter package for puppet and puppet3.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010997)
tosmi (manager)
2014-12-11 11:31

as puppet 2.7 only supports ruby 1.8 (https://docs.puppetlabs.com/guides/platforms.html#ruby-versions), [^] i'm going to create a separate facter-ruby18 package.

i'm also strongly recommending an upgrade, as ruby 1.8 is no longer supported and does not receive any security updates. i think the same is true for puppet 2.7.

sorry for the inconvenience
toni
(0010998)
tosmi (manager)
2014-12-11 13:48

i've just pushed facter_ruby18 to the unstable catalog (should land in a view minutes). could you please try this package? the dependencies are not quite right, as i also have to rebuild puppet, which requires an update on the opencsw buildfarm.

i would manually remove CSWfacter (pkgrm CSWfacter) and install facter_ruby18 afterwards (pkgutil -i facter_ruby18).

you also have to use the unstable catalog (either use -t when running pkgutil or change pkgutil.conf temporarly).

if the package works for you, i'm going to proceed updating the puppet 2.7 pkg.

thanks
toni
(0011001)
mj (reporter)
2014-12-11 19:15

I've installed the CSWfacter-ruby18 package and everything is working.

We are in the process of moving to puppet3, but having some issues with the zpool provider (puppet masters are centos boxes) so we are not yet able to get fully converted yet.

Thanks for taking the time to look into this!
(0011002)
tosmi (manager)
2014-12-12 18:16

so this should be fixed now. i've uploaded updated puppet packages which require facter_ruby18. switching between puppet and puppet3 should now work (in unstable). there's also a newer facter package in unstable thats incompatible with facter_ruby18.

the only remaining issue is that we dropped augeas support in puppet 2.7. rubyaugeas only works with the latest puppet3 pkgs as it uses ruby 2.0. and i'm not sure puppet 2.7 did support augeas...
(0011005)
tosmi (manager)
2014-12-24 10:46

fixed with facter_ruby18


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker