Method: Inspec::Resources::Mysql#initialize
- Defined in:
- lib/inspec/resources/mysql.rb
#initialize ⇒ Mysql
Returns a new instance of Mysql.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/inspec/resources/mysql.rb', line 10 def initialize # set OS-dependent filenames and paths case inspec.os[:family] when "debian" init_ubuntu when "redhat", "fedora" init_redhat when "arch" init_arch else # TODO: could not detect init_default end end |