summaryrefslogtreecommitdiff
path: root/spec/acceptance/has_interface_with_spec.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-07-08 13:45:36 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-07-08 13:45:36 -0700
commit07462f2c3619e4d6589b364f11b01ea9ca37ac61 (patch)
tree3e6dae50b80223f64728b31e2e09d5ba26e5cc98 /spec/acceptance/has_interface_with_spec.rb
parent90ed35db1f0a9646f1f9e993384b6f88b0c8d4ca (diff)
AIX has no facter network support
These functions take advantage of IP fact information and AIX does not appear to support dynamic interface detection in facter.
Diffstat (limited to 'spec/acceptance/has_interface_with_spec.rb')
-rwxr-xr-xspec/acceptance/has_interface_with_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/has_interface_with_spec.rb b/spec/acceptance/has_interface_with_spec.rb
index b09199a..9590193 100755
--- a/spec/acceptance/has_interface_with_spec.rb
+++ b/spec/acceptance/has_interface_with_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
-describe 'has_interface_with function', :unless => ((UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem'))) or (fact('osfamily') == 'windows')) do
+describe 'has_interface_with function', :unless => ((UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem'))) or (fact('osfamily') == 'windows') or (fact('osfamily') == 'AIX')) do
describe 'success' do
it 'has_interface_with existing ipaddress' do
pp = <<-EOS