Last change
on this file since 30960 was 30960, checked in by davidb, 7 years ago |
Switch to using Puppet to provision machine. Strongly based on files developed for spark-hdfs cluster
|
-
Property svn:executable
set to
*
|
File size:
362 bytes
|
Line | |
---|
1 | #! /usr/bin/env ruby -S rspec
|
---|
2 | require 'spec_helper_acceptance'
|
---|
3 |
|
---|
4 | describe '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
|
---|
11 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.