Issue #7717 has been updated by Nigel Kersten.

Subject changed from Implicit `puppet apply` behaviour on the command line is 
awful... to Deprecate alternative methods of invoking "puppet apply" other than 
"puppet apply" itself.
Status changed from Unreviewed to Accepted

I'd like us to have this done for 2.7.0, but if it's going to block release for 
a significant time period, I'm comfortable with it being 2.7.1
----------------------------------------
Refactor #7717: Deprecate alternative methods of invoking "puppet apply" other 
than "puppet apply" itself.
https://projects.puppetlabs.com/issues/7717

Author: Daniel Pittman
Status: Accepted
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.

Reply via email to