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