We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68c17a8 + 8cf0ee1 commit d1765a6Copy full SHA for d1765a6
lib/puppet_litmus/rake_helper.rb
@@ -130,9 +130,10 @@ def tear_down(node_name, inventory_hash)
130
def install_agent(collection, targets, inventory_hash)
131
include ::BoltSpec::Run
132
puppet_version = ENV.fetch('PUPPET_VERSION', nil)
133
+ # Skip forge token assignation when pointing to private collection endpoints as it is only accesible via VPN and it fails when credentials are passed.
134
forge_token = ENV.fetch('PUPPET_FORGE_TOKEN', nil)
135
params = {}
- params['password'] = forge_token if forge_token
136
+ params['password'] = forge_token if forge_token && !collection.include?('puppetcore8-nightly')
137
params['collection'] = collection if collection
138
params['version'] = puppet_version if puppet_version
139
0 commit comments