Issue #17458 has been updated by Moses Mendoza.

The output is the same when packaged up and run on EL/debian, e.g.
    [root@centos62 ~]# puppet
    /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:177:in `which': undefined method 
`features' for Puppet:Module (NoMethodError)
    from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:174:in `each'
    from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:174:in `which'
    from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:82:in 
`execute_external_subcommand'
    from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:70:in `execute'
    from /usr/bin/puppet:4

----------------------------------------
Bug #17458: running puppet 2.7.x errors with undefined method `features'
https://projects.puppetlabs.com/issues/17458#change-75897

Author: Moses Mendoza
Status: Accepted
Priority: Normal
Assignee: Andrew  Parker
Category: 
Target version: 2.7.20
Affected Puppet version: 
Keywords: 
Branch: 


Running puppet from 2.7.x results in

    /Users/moses/puppetlabs/src/puppet/lib/puppet/util.rb:177:in `block in 
which': undefined method `features' for Puppet:Module (NoMethodError)
    from /Users/moses/puppetlabs/src/puppet/lib/puppet/util.rb:174:in `each'
    from /Users/moses/puppetlabs/src/puppet/lib/puppet/util.rb:174:in `which'
    from 
/Users/moses/puppetlabs/src/puppet/lib/puppet/util/command_line.rb:82:in 
`execute_external_subcommand'
    from 
/Users/moses/puppetlabs/src/puppet/lib/puppet/util/command_line.rb:70:in 
`execute'
    from /Users/moses/puppetlabs/src/puppet/bin/puppet:4:in `<top (required)>'
    from /Users/moses/.rvm/gems/ruby-1.9.3-p194/bin/puppet:19:in `load'
    from /Users/moses/.rvm/gems/ruby-1.9.3-p194/bin/puppet:19:in `<main>'
    from /Users/moses/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in 
`eval'
    from /Users/moses/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in 
`<main>'


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to