diff --git a/lib/puppetlabs_spec_helper/rake_tasks.rb b/lib/puppetlabs_spec_helper/rake_tasks.rb index 08182ad8..727885f0 100644 --- a/lib/puppetlabs_spec_helper/rake_tasks.rb +++ b/lib/puppetlabs_spec_helper/rake_tasks.rb @@ -16,6 +16,12 @@ # ignore end +begin + require 'puppet-strings/tasks' +rescue LoadError + # ignore +end + parallel_tests_loaded = false begin require 'parallel_tests' @@ -260,7 +266,7 @@ '%s-%s%04d-%s' % [version, 'r', build, sha] else '%s-%04d-%s' % [version, build, sha] - end + end else "#{version}-#{sha}" end