diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 3efb719..e1c7f08 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -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|