From 29d135a4aab9c3147e9875f95be8e1cf8ff9b505 Mon Sep 17 00:00:00 2001 From: Paula McMaw Date: Wed, 6 Dec 2017 10:57:11 +0000 Subject: [PATCH] Do not run task setup on LTS Currently task setup is trying to run on LTS which causes failures as it is not supported. --- spec/spec_helper_acceptance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 64881f1c1..247065348 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -68,7 +68,7 @@ def expect_multiple_regexes(result:, regexes:) # 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)} hosts.each do |host| # This will be removed, this is temporary to test localisation. if (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && (puppet_version >= '4.10.5' && puppet_version < '5.2.0')