Skip to content

Commit

Permalink
Merge pull request puppetlabs#68 from donoghuc/bolt-compatibility
Browse files Browse the repository at this point in the history
(maint) Update Task constructor to follow new pattern in Bolt
  • Loading branch information
mcdonaldseanp committed Feb 4, 2020
2 parents c923df6 + be37b6e commit 349d6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ace/transport_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ def self.trusted_facts(certname)

target.first.inventory = inventory

task = Bolt::Task::PuppetServer.new(body['task'], @file_cache)
task_data = body['task']
task = Bolt::Task::PuppetServer.new(task_data['name'], task_data['metadata'], task_data['files'], @file_cache)

parameters = body['parameters'] || {}

Expand Down

0 comments on commit 349d6a0

Please sign in to comment.