Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smartos standard image 15.11 has broken puppet install #208

Open
nathans opened this issue Sep 1, 2016 · 0 comments
Open

smartos standard image 15.11 has broken puppet install #208

nathans opened this issue Sep 1, 2016 · 0 comments

Comments

@nathans
Copy link

nathans commented Sep 1, 2016

With apologies if this is not the correct venue for bug reports for smartos images...

We are using Triton private cloud and discovered recently that the standard smartos image v. 15.1.1 (d778a286-0de7-11e5-b792-d341e8fe14e6) has a broken puppet install out of the box:

$ sudo puppet agent -t
/opt/local/lib/ruby/1.9.3/rubygems/dependency.rb:247:in `to_specs': Could not find facter (~> 1.6) amongst [activemodel-3.2.21, activerecord-3.2.21, activesupport-3.2.21, arel-3.0.3, bigdecimal-1.1.0, builder-3.0.4, capistrano-3.4.0, capistrano-stats-1.1.1, colorize-0.7.5, daemon_controller-1.2.0, daemons-1.2.1, eventmachine-1.0.7, facter-2.4.1, gem_plugin-0.2.3, hiera-1.3.4, hoe-3.13.1, i18n-0.7.0, io-console-0.4.2, io-console-0.3, json-1.5.5, json_pure-1.8.2, memcache-client-1.7.4, minitest-5.5.1, minitest-2.5.1, mongrel-1.1.5, mongrel_cluster-1.0.5, multi_json-1.11.0, needle-1.3.0, net-scp-1.2.1, net-ssh-2.9.2, puppet-3.1.1, rack-1.6.0, rack-1.5.2, rake-0.9.2.2, rdoc-4.2.0, rdoc-3.9.5, rmagick-2.13.4, ruby-shadow-2.4.1, sqlite3-1.3.10, sshkit-1.7.1, thin-1.6.3, tzinfo-0.3.43] (Gem::LoadError)
        from /opt/local/lib/ruby/1.9.3/rubygems/specification.rb:783:in `block in activate_dependencies'
        from /opt/local/lib/ruby/1.9.3/rubygems/specification.rb:772:in `each'
        from /opt/local/lib/ruby/1.9.3/rubygems/specification.rb:772:in `activate_dependencies'
        from /opt/local/lib/ruby/1.9.3/rubygems/specification.rb:756:in `activate'
        from /opt/local/lib/ruby/1.9.3/rubygems.rb:1236:in `gem'
        from /opt/local/bin/puppet:22:in `<main>'

This is after running pkgin upgrade.

It appears that the installed puppet-3.1.1 has a dependency on the 1.x branch of facter, but only 2.4.1 is available in the repos:

$ sudo pkgin search facter
ruby21-facter-2.4.1nb1  Cross-platform Ruby library for retrieving facts from OS
ruby200-facter-2.4.1nb1  Cross-platform Ruby library for retrieving facts from OS
ruby193-facter-2.4.1nb1 = Cross-platform Ruby library for retrieving facts from OS

I also tried with the ruby21 version of the packages and had the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant