@@ -43,7 +43,8 @@ group :development, :release_prep do
4343 gem "puppet-blacksmith" , '~> 7.0' , require : false
4444end
4545group :system_tests do
46- gem "puppet_litmus" , '~> 1.0' , require : false , platforms : [ :ruby , :x64_mingw ]
46+ gem "puppet_litmus" , '~> 2.0' , require : false , platforms : [ :ruby , :x64_mingw ] if !ENV [ 'PUPPET_FORGE_TOKEN' ] . to_s . empty?
47+ gem "puppet_litmus" , '~> 1.0' , require : false , platforms : [ :ruby , :x64_mingw ] if ENV [ 'PUPPET_FORGE_TOKEN' ] . to_s . empty?
4748 gem "CFPropertyList" , '< 3.0.7' , require : false , platforms : [ :mswin , :mingw , :x64_mingw ]
4849 gem "serverspec" , '~> 2.41' , require : false
4950end
@@ -56,7 +57,7 @@ hiera_version = ENV.fetch('HIERA_GEM_VERSION', nil)
5657# If PUPPET_FORGE_TOKEN is set then use authenticated source for both puppet and facter, since facter is a transitive dependency of puppet
5758# Otherwise, do as before and use location_for to fetch gems from the default source
5859if !ENV [ 'PUPPET_FORGE_TOKEN' ] . to_s . empty?
59- gems [ 'puppet' ] = [ '~> 8.11' , { require : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
60+ gems [ 'puppet' ] = [ '~> 8.11' , { req§uire : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
6061 gems [ 'facter' ] = [ '~> 4.11' , { require : false , source : 'https://rubygems-puppetcore.puppet.com' } ]
6162else
6263 gems [ 'puppet' ] = location_for ( puppet_version )
0 commit comments