Sha256: 9b4b63d2ac303a9d47f87e2c12463548eb7f4551aad8cacac1fb5890140f5d28
Contents?: true
Size: 748 Bytes
Versions: 8
Compression:
Stored size: 748 Bytes
Contents
module Sprinkle module Installers # The FreeBSDPkg installer installs FreeBSD packages. # # == Example Usage # # Installing the magic_beans package. # # package :magic_beans do # freebsd_pkg 'magic_beans' # end # # You may also specify multiple packages as an array: # # package :magic_beans do # freebsd_pkg %w(magic_beans magic_sauce) # end # class FreebsdPkg < PackageInstaller ## # installs the FreeBSD packages passed # :method: freebsd_pkg # :call-seq: freebsd_pkg(*packages) auto_api protected def install_commands #:nodoc: "pkg_add -r #{@packages.join(' ')}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems