6527a3aa22
Switching out the puppet version, as puppet_facts does, does not work, as this will confuse code that wants to use version-dependent features. Instead this uses rspec-puppet-facts, which doesn't touch the puppet version.
7 lines
269 B
Ruby
7 lines
269 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'rspec-puppet-facts'
|
|
include RspecPuppetFacts
|
|
|
|
# The default set of platforms to test again.
|
|
ENV['UNIT_TEST_PLATFORMS'] = 'centos-6-x86_64 ubuntu-1404-x86_64'
|
|
PLATFORMS = ENV['UNIT_TEST_PLATFORMS'].split(' ')
|