Sha256: 4b6c97eb41d42e10f8ef839a42c60bc3515137366ca1449cdac9c2d522eff4b7
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
module Sprinkle module Installers # The OpenBSD package installer installs OpenBSD packages. # # == Example Usage # # Installing the magic_beans package. # # package :magic_beans do # openbsd_pkg 'magic_beans' # end # # You may also specify multiple packages as an array: # # package :magic_beans do # openbsd_pkg %w(magic_beans magic_sauce) # end # # == Notes # Before OpenBSD packages can be installed, the PKG_PATH # environment variable must be set. # # You must set PKG_PATH in ~/.ssh/environment on the remote # system and enable 'PermitUserEnvironment yes' in /etc/ssh/sshd_config # # For help on PKG_PATH see section 15.2.2 of the OpenBSD FAQ # (http://www.openbsd.org/faq/faq15.html) class OpenbsdPkg < PackageInstaller ## # installs the OpenBSD packages passed # :method: openbsd_pkg # :call-seq: openbsd_pkg(*packages) auto_api protected def install_commands #:nodoc: "pkg_add #{@packages.join(' ')}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems