Sha256: 2c6e57c1d0c29c7b422ae6e8a6ec6ae8a42dce076a21c3175d28a57e41f3392e
Contents?: true
Size: 942 Bytes
Versions: 6
Compression:
Stored size: 942 Bytes
Contents
module VagrantPlugins module Ventriloquist module Services class MySql < Service def provision(machine) super @machine = machine install_client install_headers configure_client end protected def install_client if @machine.guest.capability?(:mysql_install_client) @machine.guest.capability(:mysql_install_client) else @machine.env.ui.warn 'Unable to install the MySQL client' end end def install_headers if @machine.guest.capability?(:mysql_install_headers) @machine.guest.capability(:mysql_install_headers) else @machine.env.ui.warn 'Unable to install MySQL header files' end end def configure_client @machine.guest.capability(:mysql_configure_client) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems