[Bug 787350] Review Request: rubygem-rspec-puppet - RSpec tests for your Puppet manifests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=787350

Vít Ondruch <vondruch@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vondruch@xxxxxxxxxx

--- Comment #6 from Vít Ondruch <vondruch@xxxxxxxxxx> ---
* puppet dependency
  - It seems that there should be Require: puppet, otherwise I get these
errors:

$ rspec-puppet-init 
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load
such file -- puppet (LoadError)
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/gems/gems/rspec-puppet-0.1.5/lib/rspec-puppet.rb:1:in `<top
(required)>'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/gems/gems/rspec-puppet-0.1.5/bin/rspec-puppet-init:5:in
`<top (required)>'
    from /usr/bin/rspec-puppet-init:23:in `load'
    from /usr/bin/rspec-puppet-init:23:in `<main>'

$ irb
irb(main):001:0> require 'rspec-puppet'
LoadError: cannot load such file -- puppet
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/gems/gems/rspec-puppet-0.1.5/lib/rspec-puppet.rb:1:in `<top
(required)>'
    from /usr/share/rubygems/rubygems/custom_require.rb:60:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:60:in `rescue in
require'
    from /usr/share/rubygems/rubygems/custom_require.rb:35:in `require'
    from (irb):2
    from /usr/bin/irb:12:in `<main>'

* Missing puppetlabs_spec_helper dependency
  - After installing puppet, I got another error (show bellow). So it seems
    there is missing another prerequisite in Fedora. However it looks like to
    be circular dependency and bootstrap might be required :/

$ irb
irb(main):001:0> require 'rspec-puppet'
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will be
deprecated in the future, use String#encode instead.
LoadError: cannot load such file --
puppetlabs_spec_helper/puppetlabs_spec/puppet_internals
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from
/usr/share/gems/gems/rspec-puppet-0.1.5/lib/rspec-puppet/example/function_example_group.rb:1:in
`<top (required)>'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from
/usr/share/gems/gems/rspec-puppet-0.1.5/lib/rspec-puppet/example.rb:4:in `<top
(required)>'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    from /usr/share/gems/gems/rspec-puppet-0.1.5/lib/rspec-puppet.rb:6:in `<top
(required)>'
    from /usr/share/rubygems/rubygems/custom_require.rb:60:in `require'
    from /usr/share/rubygems/rubygems/custom_require.rb:60:in `rescue in
require'
    from /usr/share/rubygems/rubygems/custom_require.rb:35:in `require'
    from (irb):1
    from /usr/bin/irb:12:in `<main>'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]