mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
CFINSPEC-66 : Add condition to skip ipfilter resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
7c0ff452b1
commit
f4f70f55ed
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Inspec::Resources
|
|||
|
||||
def initialize
|
||||
# checks if the instance is either bsd or solaris
|
||||
return if inspec.os.bsd? || inspec.os.solaris?
|
||||
return if (inspec.os.bsd? && !inspec.os.darwin?) || inspec.os.solaris?
|
||||
|
||||
# ensures, all calls are aborted for non-supported os
|
||||
@ipfilter_cache = []
|
||||
|
|
Loading…
Reference in a new issue