Issue #13337 has been reported by Chris Price.
----------------------------------------
Refactor #13337: consider getting rid of the "plugin_hook" API in Application
https://projects.puppetlabs.com/issues/13337
Author: Chris Price
Status: Needs More Information
Priority: Normal
Assignee:
Category: API
Target version: Waldorf
Affected Puppet version:
Keywords:
Branch:
I have not investigated this very deeply at all, but Daniel suggested that the
"plugin_hook" API used in application.rb is probably not being used and could
perhaps be deprecated or removed.
e.g.:
exit_on_fail("initialize") {
plugin_hook('preinit') { preinit } }
exit_on_fail("parse application options") {
plugin_hook('parse_options') { parse_options } }
exit_on_fail("prepare for execution") {
plugin_hook('setup') { setup } }
exit_on_fail("configure routes from #{Puppet[:route_file]}") {
configure_indirector_routes }
exit_on_fail("run")
This should be discussed with PE devs, PS engineers, and the community before
making a decision.
--
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.