lib/bolt/plugin/task.rb in bolt-3.9.2 vs lib/bolt/plugin/task.rb in bolt-3.10.0

- old
+ new

@@ -2,10 +2,18 @@ module Bolt class Plugin class Task def hooks - %i[validate_resolve_reference puppet_library resolve_reference] + hook_descriptions.keys + end + + def hook_descriptions + { + puppet_library: 'Run a task to install the Puppet agent package.', + resolve_reference: 'Run a task as a plugin.', + validate_resolve_reference: nil + } end def name 'task' end