Class: Inspec::Resources::AuditDaemonConf
- Inherits:
-
Object
- Object
- Inspec::Resources::AuditDaemonConf
show all
- Defined in:
- lib/resources/auditd_conf.rb
Instance Method Summary
collapse
Constructor Details
19
20
21
|
# File 'lib/resources/auditd_conf.rb', line 19
def initialize(path = nil)
@conf_path = path || '/etc/audit/auditd.conf'
end
|
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name) ⇒ Object
23
24
25
|
# File 'lib/resources/auditd_conf.rb', line 23
def method_missing(name)
read_params[name.to_s]
end
|
Instance Method Details
#to_s ⇒ Object
27
28
29
|
# File 'lib/resources/auditd_conf.rb', line 27
def to_s
'Audit Daemon Config'
end
|