Sha256: ef0e988a8c73eca97a8cab69ca6bffc76d898107a57306928d54171cc8b09680

Contents?: true

Size: 484 Bytes

Versions: 6

Compression:

Stored size: 484 Bytes

Contents

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