Issue #6750 has been updated by Randall Hansen.
Daniel Pittman wrote:
> Luke Kanies wrote:
> > I'd prefer to turn it on and actually put it in front of users, and if at
> > all possible, we should build something that can be switched between modes
> > relatively easily.
I don't agree with this. It's a lot of work to avoid making a decision. If we
were spending time up-front to design this with our users then there'd be a
compelling argument to mockup two versions. Our first priority right now is to
ship, so we need to make the call.
> As a concrete proposal, if we deliver GNU style options, and then add POSIX
> options when a use case that demands them pops up,
puppet --help
puppet node --help
puppet node bootstrap --help
How else would you do this?
It's a bit of a problem. We have a system which doesn't allow certain types of
expressions. It's difficult to construct real-world use cases for such a
system to support those expressions. I don't have anything in mind other than
the above.
I'll freely admit that what I like about POSIX-style options is (a) semantic
cleanliness, and (b) Luke's enthusiasm. Both those reasons may be misguided,
because what I don't have are actual users crying out for it. But then, see
the previous paragraph.
----------------------------------------
Feature #6750: Interfaces need to support "posix style" option handling
https://projects.puppetlabs.com/issues/6750
Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee:
Category: interfaces
Target version: 2.6.x
Affected Puppet version:
Keywords:
Branch:
Posix style, in this context, means that Puppet needs to distinguish between
options specified in three possible locations:
puppet <a> interface_name <b> action_name <c>
Options at location <a> are intended to be global options (those
applicable to all Puppet interfaces and actions, like --debug)
Options at location <b> are intended to be interface-specific options
Options at location <c> are intended to be action-specific options.
--
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.