Sha256: a95b5ead45060df5861b0d692e8b7aba41a2929df20f08bff2bfd16068b153a1

Contents?: true

Size: 333 Bytes

Versions: 27

Compression:

Stored size: 333 Bytes

Contents

module FreeBSD::Pkg
  include Beaker::CommandFactory

  def install_package(name, cmdline_args = nil, opts = {})
    cmdline_args ||= '-y'
    execute("pkg install #{cmdline_args} #{name}", opts) { |result| result }
  end

  def check_for_package(name, opts = {})
    execute("pkg info #{name}", opts) { |result| result }
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
beaker-2.52.0 lib/beaker/host/freebsd/pkg.rb
beaker-3.1.0 lib/beaker/host/freebsd/pkg.rb
beaker-3.0.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.51.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.50.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.49.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.48.1 lib/beaker/host/freebsd/pkg.rb
beaker-2.48.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.47.1 lib/beaker/host/freebsd/pkg.rb
beaker-2.47.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.46.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.45.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.44.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.43.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.42.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.41.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.40.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.39.0 lib/beaker/host/freebsd/pkg.rb
beaker-2.38.1 lib/beaker/host/freebsd/pkg.rb
beaker-2.38.0 lib/beaker/host/freebsd/pkg.rb