bolt-modules/boltlib/lib/puppet/functions/apply_prep.rb in bolt-3.7.0 vs bolt-modules/boltlib/lib/puppet/functions/apply_prep.rb in bolt-3.7.1
- old
+ new
@@ -14,9 +14,10 @@
# > **Note:** Not available in apply block
Puppet::Functions.create_function(:apply_prep) do
# @param targets A pattern or array of patterns identifying a set of targets.
# @param options Options hash.
# @option options [Array] _required_modules An array of modules to sync to the target.
+ # @return [nil]
# @example Prepare targets by name.
# apply_prep('target1,target2')
dispatch :apply_prep do
param 'Boltlib::TargetSpec', :targets
optional_param 'Hash[String, Data]', :options