Issue #9458 has been updated by Michael Stahnke.

Status changed from Merged - Pending Release to Closed
Target version changed from 2.7.5 to 2.7.6

Released in 2.7.6rc1.
----------------------------------------
Bug #9458: Puppet fails to run when no subcommand specified
https://projects.puppetlabs.com/issues/9458

Author: Josh Cooper
Status: Closed
Priority: High
Assignee: Josh Cooper
Category: windows
Target version: 2.7.6
Affected Puppet version: development
Keywords: 
Branch: 


Running puppet (on any platform) without a subcommand results in the following 
error. This bug was introduced in 
commit:fb6df317016b8bbe44116e31ac5ededa4d1e0c75 when we added a generic method 
for detecting path absolute-ness. The issue is that the absolute_path? method 
is attempting to access features before they've been loaded:

<pre>
$ puppet
/Users/josh/work/puppet/lib/puppet/util.rb:211:in `absolute_path?': undefined 
method `features' for Puppet:Module (NoMethodError)
        from /Users/josh/work/puppet/lib/puppet/util.rb:189:in `which'
        from /Users/josh/work/puppet/lib/puppet/util/command_line.rb:85:in 
`execute_external_subcommand'
        from /Users/josh/work/puppet/lib/puppet/util/command_line.rb:70:in 
`execute'
        from /Users/josh/work/puppet/bin/puppet:4
</pre>


-- 
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