keep os logic in apache resource

This commit is contained in:
Jeremy J. Miller 2016-09-04 13:27:14 -04:00
parent d5b2e4bf53
commit 898fe125f2

View file

@ -21,7 +21,7 @@ module Inspec::Resources
def initialize(conf_path = nil)
@conf_path = conf_path || inspec.apache.conf_path
@conf_dir = inspec.os.debian? ? File.dirname(@conf_path) : inspec.apache.conf_dir
@conf_dir = conf_path ? File.dirname(@conf_path) : inspec.apache.conf_dir
@files_contents = {}
@content = nil
@params = nil