diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2014-06-26 13:13:19 -0700 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2014-06-26 13:13:19 -0700 |
commit | a3de9853078f63541090c29f9f9d911869fbf071 (patch) | |
tree | 1a93822ab7312dba3dcc1fa4a5bf8f4a312d4444 | |
parent | 418c0ac0123593710e0731ca8aa559ad6580f30d (diff) | |
parent | b93f71f0ced2cb87e4817e2eb4858fb1e47f3901 (diff) | |
download | puppet-stdlib-a3de9853078f63541090c29f9f9d911869fbf071.tar.gz puppet-stdlib-a3de9853078f63541090c29f9f9d911869fbf071.tar.bz2 |
Merge pull request #291 from hunner/no_network_win
has_ip_network doesn't work on windows either
-rwxr-xr-x | spec/acceptance/has_ip_network_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/has_ip_network_spec.rb b/spec/acceptance/has_ip_network_spec.rb index 692eaf9..1628746 100755 --- a/spec/acceptance/has_ip_network_spec.rb +++ b/spec/acceptance/has_ip_network_spec.rb @@ -1,7 +1,7 @@ #! /usr/bin/env ruby -S rspec require 'spec_helper_acceptance' -describe 'has_ip_network function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do +describe 'has_ip_network function', :unless => ((UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem'))) or (fact('osfamily') == 'windows')) do describe 'success' do it 'has_ip_network existing ipaddress' do pp = <<-EOS |