@@ -38,6 +38,7 @@ group :development do
3838 gem "rubocop-factory_bot" , '~> 2.27.1' , require : false
3939 gem "rubocop-capybara" , '~> 2.22.1' , require : false
4040 gem "rb-readline" , '= 0.5.5' , require : false , platforms : [ :mswin , :mingw , :x64_mingw ]
41+ gem "bolt" , '>= 4.0.0' , require : false
4142 gem "github_changelog_generator" , '1.16.4' , require : false
4243 gem "octokit" , '4.21.0' , require : false
4344 gem "orchestrator_client" , '< 0.7.1' , require : false
@@ -56,17 +57,17 @@ gems = {}
5657puppet_version = ENV . fetch ( 'PUPPET_GEM_VERSION' , nil )
5758facter_version = ENV . fetch ( 'FACTER_GEM_VERSION' , nil )
5859hiera_version = ENV . fetch ( 'HIERA_GEM_VERSION' , nil )
59- bolt_version = ENV . fetch ( 'BOLT_GEM_VERSION' , nil )
60+ # bolt_version = ENV.fetch('BOLT_GEM_VERSION', nil)
6061
6162# If PUPPET_FORGE_TOKEN is set then use authenticated source for both puppet and facter, since facter is a transitive dependency of puppet
6263# Otherwise, do as before and use location_for to fetch gems from the default source
6364if !ENV [ 'PUPPET_FORGE_TOKEN' ] . to_s . empty?
6465 gems [ 'puppet' ] = [ puppet_version || '~> 8.11' , { require : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
6566 gems [ 'facter' ] = [ facter_version || '~> 4.0' , { require : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
66- gems [ 'bolt' ] = [ bolt_version || '~> 5.0' , { require : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
67+ # gems['bolt'] = [bolt_version || '~> 5.0', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
6768else
6869 gems [ 'puppet' ] = location_for ( puppet_version )
69- gems [ 'bolt' ] = location_for ( bolt_version )
70+ # gems['bolt'] = location_for(bolt_version)
7071 gems [ 'facter' ] = location_for ( facter_version ) if facter_version
7172end
7273
0 commit comments