Issue #7717 has been reported by Daniel Pittman.
----------------------------------------
Refactor #7717: Implicit `puppet apply` behaviour on the command line is
awful...
https://projects.puppetlabs.com/issues/7717
Author: Daniel Pittman
Status: Unreviewed
Priority: Normal
Assignee: Randall Hansen
Category:
Target version:
Affected Puppet version: 2.7.0rc3
Keywords:
Branch:
At the moment we have a bunch of ways to implicitly invoke `puppet apply` on
the command line, mostly in the name of backward compatibility:
<pre>
] puppet apply
] puppet -
] puppet foo.rb
] puppet foo.pp
</pre>
We also treat *anything* with a leading `-` as an implicit invocation of
`puppet apply`, presumably to support the case of `puppet --verbose` being an
apply. The last is kind of crazy, though: we don't support arguments like that
anywhere else, and it has all this strange behaviour....
We should clean this up: deprecate, or just pull, this use. It isn't like
`puppet apply ${whatever}` is much harder than `puppet ${whatever}`, and the
transformation could be done more or less mechanically...
--
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.