Sha256: ffe5348d1a3bf17aad05422d60dbc56ae4bd4a04a80af3b2ade015808e5c56e2

Contents?: true

Size: 477 Bytes

Versions: 6

Compression:

Stored size: 477 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Cap
      module Debian
        module MySqlInstallClient
          def self.mysql_install_client(machine)
            machine.communicate.tap do |comm|
              if ! comm.test('which mysql > /dev/null')
                machine.env.ui.info('Installing MySQL client')
                comm.sudo('apt-get install -y mysql-client')
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ventriloquist-0.3.2 lib/ventriloquist/cap/debian/mysql_install_client.rb
ventriloquist-0.3.1 lib/ventriloquist/cap/debian/mysql_install_client.rb
ventriloquist-0.3.0 lib/ventriloquist/cap/debian/mysql_install_client.rb
ventriloquist-0.2.1 lib/ventriloquist/cap/debian/mysql_install_client.rb
ventriloquist-0.2.0 lib/ventriloquist/cap/debian/mysql_install_client.rb
ventriloquist-0.1.0 lib/ventriloquist/cap/debian/mysql_install_client.rb