mirror of
https://github.com/inspec/inspec
synced 2025-02-17 14:38:43 +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
|
include FileReader
|
||||||
|
|
||||||
|
attr_reader :conf_path, :content, :params
|
||||||
|
|
||||||
def initialize(path = nil)
|
def initialize(path = nil)
|
||||||
@conf_path = path || "/etc/audit/auditd.conf"
|
@conf_path = path || "/etc/audit/auditd.conf"
|
||||||
@content = read_file_content(@conf_path)
|
@content = read_file_content(@conf_path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue