de4ddd341c
v3.1.1 sha1: d5c648d42ad287150206f11692816eba7c73a2b0 Implements: blueprint merge-openstack-puppet-modules Change-Id: I0ceb392d8750469ece3c93d67d2c73a8a6d7b71d
11 lines
317 B
Ruby
11 lines
317 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
|
|
it 'should fail' do
|
|
pp = <<-EOS
|
|
class { 'ntp': }
|
|
EOS
|
|
expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/is not supported on an/i)
|
|
end
|
|
end
|