virtualbox
: Installs VirtualBox.
virtualbox::install
: installs the VirtualBox packagevirtualbox::kernel
: compiles and installs the VirtualBox kernel modulesvirtualbox::params
: It sets variables according to platform
virtualbox::extpack
: This class (un)installs Oracle's VirtualBox extension pack.
Installs VirtualBox.
The following parameters are available in the virtualbox
class:
version
package_ensure
manage_repo
manage_ext_repo
repo_proxy
manage_package
manage_kernel
vboxdrv_dependencies
package_name
Data type: String
The major version of the package to install.
Default value: '6.0'
Data type: String
This gets passed to the package resource as the value of the 'ensure' parameter. This can be used to specify a package version.
Default value: 'present'
Data type: Boolean
Should this module manage the package repository? Defaults to true
Default value: $virtualbox::params::manage_repo
Data type: Boolean
On applicable platforms, should this module manage the external dependency
repository when manage_kernel
is set to true?
Defaults to true
Default value: true
Data type: Optional[String]
proxy used by yum
Default value: undef
Data type: Boolean
Should this module manage the package? Defaults to true
Default value: true
Data type: Boolean
Should this module install the VirtualBox kernel modules? Defaults to true
Default value: true
Data type: Array
Dependencies for building the VirtualBox kernel modules. Defaults depend on the platform. See virtualbox::params.
Default value: $virtualbox::params::vboxdrv_dependencies
Data type: String
The name of the package to install. This must be the full packge name when not the default. When the default is in use, it gets compounded with the major.minor components of the version number. Defaults to 'VirtualBox' for RedHat and 'virtualbox' for Debian
Default value: $virtualbox::params::package_name
This class (un)installs Oracle's VirtualBox extension pack.
The following parameters are available in the virtualbox::extpack
defined type:
Data type: String
Download extension pack from the given URL. Required string.
Data type: Enum['present', 'absent']
Set to 'present' to install extension pack. Set to 'absent' to uninstall. Defaults to 'present'
Default value: 'present'
Data type: Boolean
Whether to verify the checksum of the downloaded file. Optional boolean. Defaults to true.
Default value: true
Data type: Optional[String]
If $verify_checksum is true, this is the checksum to use to validate the downloaded file against.
Default value: undef
Data type: Enum['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
If $verify_checksum is true, this is the algorithm to use to validate the checksum. Can be md5, sha1, sha224, sha256, sha384, or sha512. Defaults to 'md5'
Default value: 'md5'
Data type: Stdlib::Absolutepath
This is the path where VirtualBox looks for extension packs. Defaults to '/usr/lib/virtualbox/ExtensionPacks'
Default value: '/usr/lib/virtualbox/ExtensionPacks'