From: Hunter Haugen Date: Thu, 26 Jun 2014 20:12:39 +0000 (-0700) Subject: has_ip_network doesn't work on windows either X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b93f71f0ced2cb87e4817e2eb4858fb1e47f3901;p=puppet-stdlib.git has_ip_network doesn't work on windows either --- 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