Class: Sprinkle::Installers::OpensolarisPkg
- Inherits:
-
PackageInstaller
- Object
- Installer
- PackageInstaller
- Sprinkle::Installers::OpensolarisPkg
- Defined in:
- lib/sprinkle/installers/opensolaris_pkg.rb
Overview
The OpenSolaris package installer installs OpenSolaris packages.
Example Usage
Installing the magic_beans package.
package :magic_beans do
opensolaris_pkg 'magic_beans'
end
You may also specify multiple packages as an array:
package :magic_beans do
opensolaris_pkg 'magic_beans', 'magic_sauce'
end
Note
If you are using capistrano as the deployment method you will need to add the following lines to your deploy.rb
set :sudo, 'pfexec'
set :sudo_prompt, ''
Instance Attribute Summary
Attributes inherited from PackageInstaller
Attributes inherited from Installer
#delivery, #options, #package, #post, #pre
Method Summary
Methods inherited from PackageInstaller
auto_api, #initialize, #install_package
Methods inherited from Installer
#announce, api, #commands_from_block, #defer, #escape_shell_arg, inherited, #initialize, #install_sequence, #method_missing, #per_host?, #post_process, #process, subclasses, verify_api
Methods included from Sudo
#sudo?, #sudo_cmd, #sudo_stack
Methods included from Attributes
Constructor Details
This class inherits a constructor from Sprinkle::Installers::PackageInstaller
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sprinkle::Installers::Installer