Hello
I can't manage to install VB on osx via puppet and pkgdmg provider.
puppet client : 2.6.8 on osx snow leopard 10.6.7
puppetmaster : 2.6.8-1~bpo60+1 on debian squeeze
The puppet logs say :
[...]
debug: Puppet::Type::Package::ProviderPkgdmg: Executing '/usr/bin/curl -o
/tmp/VirtualBox-4.0.8-71778-OSX.dmg -C - -k -s --url
https://web3/apps/VirtualBox-4.0.8-71778-OSX.dmg'
debug: Success: curl transfered [VirtualBox-4.0.8-71778-OSX.dmg]
debug: Puppet::Type::Package::ProviderPkgdmg: Executing '/usr/bin/hdiutil
mount -plist -nobrowse -readonly -noidme -mountrandom /tmp
/tmp/VirtualBox-4.0.8-71778-OSX.dmg'
debug: Puppet::Type::Package::ProviderPkgdmg: Executing '/usr/sbin/installer
-pkg /private/tmp/dmg.5hKSb9/VirtualBox.mpkg -target /'
debug: Puppet::Type::Package::ProviderPkgdmg: Executing '/usr/bin/hdiutil
eject /private/tmp/dmg.5hKSb9'
err:
/Stage[main]/Aptitude::Info/Pkginstall[VirtualBox-4.0.8-71778-OSX.dmg]/Package[VirtualBox-4.0.8-71778-OSX.dmg]/ensure:
change from absent to present failed: Execution of '/usr/sbin/installer -pkg
/private/tmp/dmg.5hKSb9/VirtualBox.mpkg -target /' returned 1: installer:
Package name is Oracle VM VirtualBox
installer: Installing at base path /
installer: The install failed (Le programme d’installation a rencontré une
erreur qui a provoqué l’échec de l’installation. Contactez l’éditeur du
logiciel pour obtenir de l’aide.)
The /var/log/install.log :
Jun 8 15:02:16 info-starbuck installer[85815]: JS: Hardware architecture
detected: i386
Jun 8 15:02:16 info-starbuck installer[85815]: JS: OS version detected:
10.6.7
Jun 8 15:02:17 info-starbuck installer[85815]:
-[IFDInstallController(Private) _buildInstallPlan]: location =
file://localhost
Jun 8 15:02:17 info-starbuck installer[85815]:
-[IFDInstallController(Private) _buildInstallPlan]:
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxKEXTs.pkg
Jun 8 15:02:17 info-starbuck installer[85815]:
-[IFDInstallController(Private) _buildInstallPlan]:
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxStartupItems.pkg
Jun 8 15:02:17 info-starbuck installer[85815]:
-[IFDInstallController(Private) _buildInstallPlan]:
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBox.pkg
Jun 8 15:02:17 info-starbuck installer[85815]:
-[IFDInstallController(Private) _buildInstallPlan]:
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBoxCLI.pkg
Jun 8 15:02:17 info-starbuck runner[85823]: Administrator authorization
granted.
Jun 8 15:02:17 info-starbuck installer[85815]: Will use PK session
Jun 8 15:02:17 info-starbuck installer[85815]: Starting installation:
Jun 8 15:02:17 info-starbuck installer[85815]: Configuring volume OsX
Jun 8 15:02:17 info-starbuck installer[85815]: Preparing disk for local
booted install.
Jun 8 15:02:17 info-starbuck installer[85815]: Free space on OsX: 474.14
Go (474139660288 bytes).
Jun 8 15:02:17 info-starbuck installer[85815]: Create temporary directory
/var/folders/zz/zzzivhrRnAmviuee+++/-Tmp-//Install.85815HtcZhN
Jun 8 15:02:17 info-starbuck installer[85815]: IFPKInstallElement (4
packages)
Jun 8 15:02:17 info-starbuck installer[85815]: PackageKit: - Begin
install -
Jun 8 15:02:17 info-starbuck installer[85815]: PackageKit:
request=PKInstallRequest 4 packages, destination=/
Jun 8 15:02:17 info-starbuck installer[85815]: PackageKit: packages=(\n
PKJaguarPackage
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxKEXTs.pkg,\n
PKJaguarPackage
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxStartupItems.pkg,\n
PKJaguarPackage
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBox.pkg,\n
PKJaguarPackage
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBoxCLI.pkg\n)
Jun 8 15:02:17 info-starbuck installer[85815]: PackageKit: Extracting
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxKEXTs.pkg
(destination=/var/folders/zz/zzzivhrRnAmviuee+++/Cleanup At
Startup/PKInstallSandbox-tmp/Root, uid=0)
Jun 8 15:02:18 info-starbuck installer[85815]: PackageKit: Extracting
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VBoxStartupItems.pkg
(destination=/var/folders/zz/zzzivhrRnAmviuee+++/Cleanup At
Startup/PKInstallSandbox-tmp/Root, uid=0)
Jun 8 15:02:19 info-starbuck installer[85815]: PackageKit: Extracting
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBox.pkg
(destination=/var/folders/zz/zzzivhrRnAmviuee+++/Cleanup At
Startup/PKInstallSandbox-tmp/Root, uid=0)
Jun 8 15:02:27 info-starbuck installer[85815]: PackageKit: Extracting
file://localhost/private/tmp/dmg.OT7NZT/VirtualBox.mpkg/Contents/Packages/VirtualBoxCLI.pkg