Sha256: 310557ecab669f8e3fe70f317eea289e752fd5137c35941072e8e8ba452384cb
Contents?: true
Size: 480 Bytes
Versions: 6
Compression:
Stored size: 480 Bytes
Contents
module VagrantPlugins module Ventriloquist module Cap module Debian module PgInstallClient def self.pg_install_client(machine) machine.communicate.tap do |comm| if ! comm.test('which psql > /dev/null') machine.env.ui.info('Installing PostgreSQL client') comm.sudo('apt-get install -y postgresql-client') end end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems