Skip to content

Commit 29d135a

Browse files
committed
Do not run task setup on LTS
Currently task setup is trying to run on LTS which causes failures as it is not supported.
1 parent 8af82e9 commit 29d135a

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)