Skip to content
Snippets Groups Projects
Unverified Commit 1e080df9 authored by david22swan's avatar david22swan Committed by GitHub
Browse files

Merge pull request #613 from puppetlabs/only_pin_puppetcore

Only pin to the puppetcore versions.
parents a4c6aee9 069d1e89
Branches
Tags
No related merge requests found
......@@ -112,8 +112,8 @@ hiera_version = ENV.fetch('HIERA_GEM_VERSION', nil)
# If PUPPET_FORGE_TOKEN is set then use authenticated source for both puppet and facter, since facter is a transitive dependency of puppet
# Otherwise, do as before and use location_for to fetch gems from the default source
if !ENV['PUPPET_FORGE_TOKEN'].to_s.empty?
gems['puppet'] = [puppet_version || '~> 8.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
gems['facter'] = [facter_version || '~> 4.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
gems['puppet'] = ['~> 8.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
gems['facter'] = ['~> 4.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }]
else
gems['puppet'] = location_for(puppet_version)
gems['facter'] = location_for(facter_version) if facter_version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment