From 564a6fb7f34cf41d2a3fc4caa8f9ad34d16710a4 Mon Sep 17 00:00:00 2001 From: Eric Thompson Date: Tue, 7 Feb 2017 01:04:18 +0000 Subject: [PATCH] (PDOC-144) fix recent commit's Rakefile changes when no platform is specified --- Rakefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 981220d..6abf750 100644 --- a/Rakefile +++ b/Rakefile @@ -23,17 +23,17 @@ task :acceptance do install_type = 'aio' target = ENV['platform'] - unless target =~ /type=/ - puts "INFO: adding 'type=#{install_type}' to host config" - target += "{type=#{install_type}}" - end - if ! target STDERR.puts 'TEST_TARGET environment variable is not set' STDERR.puts 'setting to default value of "centos7-64ma".' target = "centos7-64ma{type=#{install_type}}" end + unless target =~ /type=/ + puts "INFO: adding 'type=#{install_type}' to host config" + target += "{type=#{install_type}}" + end + cli = BeakerHostGenerator::CLI.new([target]) nodeset_dir = 'spec/acceptance/nodesets' nodeset = "#{nodeset_dir}/#{target}.yml"