source: other-projects/hathitrust/vagrant-hadoop-cluster/trunk/modules/stdlib/spec/acceptance/unsupported_spec.rb@ 30903

Last change on this file since 30903 was 30903, checked in by davidb, 8 years ago

Vagrant provisioning files for a 4-node Hadoop cluster. See README.txt for more details

  • Property svn:executable set to *
File size: 362 bytes
Line 
1#! /usr/bin/env ruby -S rspec
2require 'spec_helper_acceptance'
3
4describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
5 it 'should fail' do
6 pp = <<-EOS
7 class { 'mysql::server': }
8 EOS
9 expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/unsupported osfamily/i)
10 end
11end
Note: See TracBrowser for help on using the repository browser.