Class: Inspec::Resources::Oracle
- Inherits:
-
Object
- Object
- Inspec::Resources::Oracle
- Defined in:
- lib/inspec/resources/oracle.rb
Instance Attribute Summary collapse
-
#conf_path ⇒ Object
readonly
Returns the value of attribute conf_path.
Instance Method Summary collapse
-
#initialize ⇒ Oracle
constructor
A new instance of Oracle.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Oracle
Returns a new instance of Oracle.
13 14 15 16 17 18 19 20 |
# File 'lib/inspec/resources/oracle.rb', line 13 def initialize case inspec.os[:family] when "debian", "redhat", "linux", "suse" determine_conf_dir_and_path_in_linux when "windows" determine_conf_dir_and_path_in_windows end end |
Instance Attribute Details
#conf_path ⇒ Object (readonly)
Returns the value of attribute conf_path.
11 12 13 |
# File 'lib/inspec/resources/oracle.rb', line 11 def conf_path @conf_path end |
Instance Method Details
#to_s ⇒ Object
22 23 24 |
# File 'lib/inspec/resources/oracle.rb', line 22 def to_s "OracleDB" end |