Skip to content

Commit a736539

Browse files
(PE-42498) reenable bolt 5
1 parent 1aa3e27 commit a736539

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Gemfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,16 @@ gems = {}
6060

6161
gems['puppet'] = location_for(puppet_version)
6262

63-
#bolt_version = ENV.fetch('BOLT_GEM_VERSION', nil)
63+
bolt_version = ENV.fetch('BOLT_GEM_VERSION', nil)
64+
# output value of bolt_version for debugging purposes
65+
puts "BOLT_GEM_VERSION is set to: #{bolt_version}" unless bolt_version.nil?
6466

6567
# If PUPPET_FORGE_TOKEN is set then use authenticated source for both puppet and facter, since facter is a transitive dependency of puppet
6668
# Otherwise, do as before and use location_for to fetch gems from the default source
6769
if !ENV['PUPPET_FORGE_TOKEN'].to_s.empty?
68-
#gems['bolt'] = [bolt_version || '~> 5.0', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
70+
gems['bolt'] = [bolt_version || '~> 5.0', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
6971
else
70-
#gems['bolt'] = location_for(bolt_version)
72+
gems['bolt'] = location_for(bolt_version)
7173
end
7274

7375
# If facter or hiera versions have been specified via the environment

0 commit comments

Comments
 (0)