Skip to content

Commit

Permalink
(packaging) DO NOT MERGE THIS
Browse files Browse the repository at this point in the history
Relax bolt version constraint to get a build for testing.
  • Loading branch information
donoghuc committed Mar 26, 2020
1 parent 52043d2 commit 6ea2da8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions agentless-catalog-executor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ Gem::Specification.new do |spec|

# Pin concurrent-ruby to 1.1.5 until https://github.com/ruby-concurrency/concurrent-ruby/pull/856 is released
spec.add_dependency "concurrent-ruby", "1.1.5"
# TODO: migrate to bolt 2.x
spec.add_dependency "bolt", "~> 2.0"

#spec.add_dependency "bolt", "~> 2.0"
# TODO: THIS IS ONLY TO GET A VANAGON BUILD!!! DO Not MERGE LIKE THiS, USE ^^
spec.add_dependency "bolt", ">= 1"

# server-side dependencies cargo culted from https://github.com/puppetlabs/bolt/blob/4418da408643aa7eb5ed64f4c9704b941ea878dc/Gemfile#L10-L16
spec.add_dependency "hocon", ">= 1.2.5"
Expand Down
3 changes: 2 additions & 1 deletion lib/ace/transport_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def self.trusted_facts(certname)
target_data = {
'name' => body['target']['host'] || body['target']['name'] || 'remote',
'config' => {
'transport' => 'remote'
'transport' => 'remote',
'remote' => body['target']
}
}
target = [Bolt::Target.from_hash(target_data, inventory)]
Expand Down

0 comments on commit 6ea2da8

Please sign in to comment.