Method: Inspec::Resources::Mysql#initialize
- Defined in:
- lib/resources/mysql.rb
#initialize ⇒ Mysql
Returns a new instance of Mysql.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/resources/mysql.rb', line 12 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 |