mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
In order to allow for dynamic tests, exposed these instance variables
Signed-off-by: yarick <yarick@yarick.net>
This commit is contained in:
parent
77b29d7550
commit
181a924ddd
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ module Inspec::Resources
|
|||
|
||||
include FileReader
|
||||
|
||||
attr_reader :conf_path, :content, :params
|
||||
|
||||
def initialize(path = nil)
|
||||
@conf_path = path || "/etc/audit/auditd.conf"
|
||||
@content = read_file_content(@conf_path)
|
||||
|
|
Loading…
Reference in a new issue