Skip to content

Commit 79682e7

Browse files
author
willmeek
authored
Merge pull request #1031 from pmcmaw/task_lts
Do not run task setup on LTS
2 parents aa1dfdc + 29d135a commit 79682e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def expect_multiple_regexes(result:, regexes:)
6868

6969
# Configure all nodes in nodeset
7070
c.before :suite do
71-
run_puppet_access_login(user: 'admin') if pe_install?
71+
run_puppet_access_login(user: 'admin') if pe_install? && puppet_version =~ %r{(5\.\d\.\d)}
7272
hosts.each do |host|
7373
# This will be removed, this is temporary to test localisation.
7474
if (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && (puppet_version >= '4.10.5' && puppet_version < '5.2.0')

0 commit comments

Comments
 (0)