Sha256: cc757366b49a502dcb9edb8bc5ee2fb50da342895ce9782e1563114451041e9c

Contents?: true

Size: 477 Bytes

Versions: 6

Compression:

Stored size: 477 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Cap
      module Debian
        module PgInstallHeaders
          def self.pg_install_headers(machine)
            machine.communicate.tap do |comm|
              if ! comm.test('dpkg -l | grep libpq-dev')
                machine.env.ui.info('Installing PostgreSQL headers')
                comm.sudo('apt-get install -y libpq-dev')
              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/pg_install_headers.rb
ventriloquist-0.3.1 lib/ventriloquist/cap/debian/pg_install_headers.rb
ventriloquist-0.3.0 lib/ventriloquist/cap/debian/pg_install_headers.rb
ventriloquist-0.2.1 lib/ventriloquist/cap/debian/pg_install_headers.rb
ventriloquist-0.2.0 lib/ventriloquist/cap/debian/pg_install_headers.rb
ventriloquist-0.1.0 lib/ventriloquist/cap/debian/pg_install_headers.rb