modules/boltlib/lib/puppet/functions/file_upload.rb in bolt-0.12.0 vs modules/boltlib/lib/puppet/functions/file_upload.rb in bolt-0.13.0

- old
+ new

@@ -13,9 +13,10 @@ dispatch :file_upload do scope_param param 'String[1]', :source param 'String[1]', :destination repeated_param 'TargetOrTargets', :targets + return_type 'ExecutionResult' end def file_upload(scope, source, destination, *targets) unless Puppet[:tasks] raise Puppet::ParseErrorWithIssue.from_issue_and_stack(