mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +00:00
keep os logic in apache resource
This commit is contained in:
parent
d5b2e4bf53
commit
898fe125f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue