Install fail on OSX El Captain
Opened this issue · 4 comments
Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.rHgg2L/VirtualBox.pkg -target /' returned 1: installer: Package name is Oracle VM VirtualBox
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Error: /Stage[main]/Virtualbox/Package[VirtualBox-4.3.14-95030]/ensure: change from absent to present failed: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.rHgg2L/VirtualBox.pkg -target /' returned 1: installer: Package name is Oracle VM VirtualBox
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
It tries to install version 4.3, while there is already version 5.0.12 available on virtualbox website.
I use latest version of this module in my Puppetfile: github "virtualbox", "1.0.13"
I was able to install on El Capitan by specifying the latest version in my manifest:
class { 'virtualbox':
version => '5.0.14',
patch_level => '105127'
}
@bgerstle , I was using your fix above for the last couple of months. However, I updated my Boxen from upstream just now, and I got the error:
Error: Invalid parameter version on Class[Virtualbox] at /opt/boxen/repo/modules/people/manifests/henscu.pp:38 on node henrys-mbp
Wrapped exception:
Invalid parameter version
Error: Invalid parameter version on Class[Virtualbox] at /opt/boxen/repo/modules/people/manifests/henscu.pp:38 on node henrys-mbp
So, I removed the class structure completely from my personal manifest, and just went with the following line in my Puppetfile, as suggested in the basic puppet-virtualbox:
github "virtualbox", "1.0.13"
This installs VirtualBox 5.0.20 r106931, which is fine for my purposes (developing WordPress under Bedrock at roots.io).
The latest version of VirtualBox is 5.0.26, but this isn't available at GitHub yet it seems...
@henscu that's bizarre, can't tell why that would cause an invalid parameter error. Also, it appears the latest version of puppet-virtualbox defaults to 4.3.14p95030
. Maybe it's defined somewhere else, like in hiera?