The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #7566

--mode and --render-as options are invisible to the help API; likewise --debug and --verbose.

Added by Nick Fagerlund almost 3 years ago. Updated almost 3 years ago.

Status:AcceptedStart date:05/17/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Faces
Target version:-
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

The --mode, --render-as, --debug, and --verbose options are specified in puppet/application/face_base.rb, which is opaque to the help API. They’re important options, and should show up in the manpages and help for all faces and actions.


Related issues

Blocked by Puppet - Bug #7270: unify global options with face and action options... In Topic Branch Pending Review 04/28/2011

History

#1 Updated by Daniel Pittman almost 3 years ago

The —mode, —render-as, —debug, and —verbose options are specified in puppet/application/face_base.rb, which is opaque to the help API. They’re important options, and should show up in the manpages and help for all faces and actions.

This is intimately tied to the fact that these options are not implemented as face options, but were just hacked into the base application as a matter of experience in getting the first version out the door.

In resolving this issue we should first solve the underlying unification issue – then, if there is any more to do we can tackle it here.

#2 Updated by Randall Hansen almost 3 years ago

Nick, is this blocking any of your work for 2.7?

#3 Updated by Nick Fagerlund almost 3 years ago

We’ll just have to add some boilerplate about those four options as prose to the templates. It’s aesthetically annoying and kind of bad info design, but definitely not a dealbreaker.

(Daniel, what do you mean by the underlying unification issue?)

#4 Updated by Daniel Pittman almost 3 years ago

Nick Fagerlund wrote:

We’ll just have to add some boilerplate about those four options as prose to the templates. It’s aesthetically annoying and kind of bad info design, but definitely not a dealbreaker.

Given the set of global options is static, this is pretty much what I assumed was going to happen.

(Daniel, what do you mean by the underlying unification issue?)

Sorry, since I was on my mobile device I didn’t fill that out. I have added #7270 as a blocker for this ticket, which is exactly what I mean by that.

#5 Updated by Zach Leslie almost 3 years ago

  • Status changed from Unreviewed to Accepted

Also available in: Atom PDF