Issue #7717 has been updated by Daniel Pittman.

Status changed from Accepted to Merged - Pending Release

https://github.com/puppetlabs/puppet/compare/db25a02...0370011 merges this into 
the 2.7rc branch, ready for the next release.  The warnings are 
language-checked and approved.
----------------------------------------
Refactor #7717: Deprecate alternative methods of invoking "puppet apply" other 
than "puppet apply" itself.
https://projects.puppetlabs.com/issues/7717

Author: Daniel Pittman
Status: Merged - Pending Release
Priority: Normal
Assignee: Daniel Pittman
Category: deprecation
Target version: 2.7.0
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