fuel-library/deployment/puppet/ntp/spec/acceptance/unsupported_spec.rb
Stanislaw Bogatkin de4ddd341c Sync puppet module ntp to v3.1.1 from upstream
v3.1.1 sha1: d5c648d42ad287150206f11692816eba7c73a2b0
Implements: blueprint merge-openstack-puppet-modules

Change-Id: I0ceb392d8750469ece3c93d67d2c73a8a6d7b71d
2014-06-25 14:02:21 +04:00

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