Issue #17156 has been updated by Jeff McCune.

Category set to settings
Target version set to 3.x
Keywords changed from regression to regression settings

Confirmed, this is definitely a regression.  I'm targeting this at 3.x instead 
of 3.0.x because we plan to have an entire theme about code loading which this 
is directly related to.

I think we need to implement some option parsing look-ahead specific to 
`--modulepath`.  If the user explicitly specifies modulepath, then we can 
bypass all of our "what's the default modulepath based on my run mode?" 
behavior.

-Jeff
----------------------------------------
Bug #17156: Regression: Can't pass --modulepath (or any other config setting 
flag) to puppet doc in 3.0.1
https://projects.puppetlabs.com/issues/17156#change-74641

Author: Nick Fagerlund
Status: Accepted
Priority: Normal
Assignee: 
Category: settings
Target version: 3.x
Affected Puppet version: 3.0.1
Keywords: regression settings
Branch: 


The docs team uses `puppet doc --reference` to generate certain docs for the 
site, but we have to blank out the modulepath in order to exclude non-core 
resource types and functions that happen to be in our personal modules. This 
worked through 3.0.0 and broke in 3.0.1. 

Git bisect tracks the change to commit:144bb76a7e825a221fd1cb5a20728c8cf5c03264 
-- "(#16637) Fix default confdir and vardir with puppet master as normal user."

The command to test this with is `puppet doc --reference function --modulepath 
/tmp/nothing` -- make sure you have something like puppetlabs-stdlib in your 
modulepath when testing, so that the function reference gets nice and messy.


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