Merge pull request #730 from puppetlabs/release
[puppet-modules/puppetlabs-apt.git] / spec / spec_helper_acceptance.rb
index 1160438d9a0236981f8c0c230e930448b5871eec..e9d51bfd11c60c4d38b5861b29a9ffefd6a1169f 100644 (file)
@@ -88,6 +88,6 @@ RSpec.configure do |c|
 
   # Configure all nodes in nodeset
   c.before :suite do
-    run_puppet_access_login(user: 'admin') if pe_install?
+    run_puppet_access_login(user: 'admin') if pe_install? && puppet_version =~ %r{(5\.\d\.\d)}
   end
 end