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

0.9.12 fails when finding puppet. #178

Closed
brettswift opened this issue Feb 10, 2014 · 2 comments
Closed

0.9.12 fails when finding puppet. #178

brettswift opened this issue Feb 10, 2014 · 2 comments

Comments

@brettswift
Copy link

I'm seeing some issues with running this version on two different applications. One is my vagrant sandbox project at revision: f06d4a6 https://github.com/brettswift/vagrant-dev (the centOs 6.5 project referenced below)

The other is a corporate PE project so I can't share the entire code.

I've seen this with:

  • Puppet Open Source & CentOS 6.5.
  • Puppet Enterprise & CentOS 6.4.

The versions and logs below are for the project I can't share - under CentOS 6.4 and PE.
Moving back to 0.9.11, or 0.9.10 does not fix this on PE.

Ruby:

$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Puppet

$ puppet --version
3.2.2 (Puppet Enterprise 3.0.0)

Puppetfile

forge "http://forge.puppetlabs.com"

mod "puppetlabs/ntp", "3.0.1"
mod "ripienaar/module_data", "0.0.1"
mod "rodjek/logrotate", "1.1.1"

output:

$ librarian-puppet install
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- puppet (LoadError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/source/git.rb:3
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/source.rb:4
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/dsl.rb:2
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/environment.rb:2
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/extension.rb:1
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet.rb:43
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/lib/librarian/puppet/cli.rb:4
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/librarian-puppet-0.9.12/bin/librarian-puppet:6
    from /usr/bin/librarian-puppet:19:in `load'
    from /usr/bin/librarian-puppet:19
@carlossg
Copy link
Collaborator

You need the puppet gem for :git modules, see #139 and #134
I'll add a more meaningful error message

carlossg pushed a commit that referenced this issue Feb 11, 2014
carlossg pushed a commit that referenced this issue Feb 11, 2014
@carlossg
Copy link
Collaborator

Added a better error message

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

2 participants