Skip to content

Commit

Permalink
(SIMP-4577) Wrong version of puppet-agent installed in tests (#57)
Browse files Browse the repository at this point in the history
SIMP-4577 #close
  • Loading branch information
lnemsick-simp authored and trevor-vaughan committed Mar 26, 2018
1 parent 20634ad commit 18ec2b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
include BeakerWindows::Registry
include BeakerWindows::WindowsFeature

if ENV['PUPPET_VERSION']
# have to tell run_puppet_install_helper the version of
# puppet-agent that corresponds to PUPPET_VERSION
ENV['PUPPET_INSTALL_VERSION'] = latest_puppet_agent_version_for(ENV['PUPPET_VERSION'])
end
run_puppet_install_helper

hosts.each do |host|
Expand Down

0 comments on commit 18ec2b4

Please sign in to comment.