Issue #9458 has been reported by Josh Cooper.
----------------------------------------
Bug #9458: Puppet fails to run when no subcommand specified
https://projects.puppetlabs.com/issues/9458
Author: Josh Cooper
Status: Accepted
Priority: High
Assignee:
Category: windows
Target version: 2.7.x
Affected Puppet version: development
Keywords:
Branch:
Running puppet (on any platform) without a subcommand or with --help 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:
$ 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
--
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.