-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
VMware Workstation Player is a desktop virtualization application that is available for free for personal use. It is available for download from the VMware website. (:copyright: marketing department, VMware 😏)
Unfortunately, this product is not available as a Debian or RPM package. The following approach allows installing the Player using Puppet:
$vmware_version = '14.0.0-6661328'
$vmware_package = "VMware-Player-${vmware_version}.x86_64.bundle"
$vmware_baseurl = 'https://download3.vmware.com/software/player/file'
$vmware_installer = "/tmp/${vmware_package}"
$vmware_install_cmd = "${vmware_installer} --console --eulas-agreed --required"
$vmware_uninstall_cmd = "${vmware_installer} --uninstall-product=vmware-player --required"
file { $vmware_installer:
source => "${vmware_baseurl}/${vmware_package}",
owner => 'root',
group => 'root',
mode => '0755',
}
-> exec { $vmware_install_cmd:
path => ['/usr/sbin', '/usr/bin', '/sbin', '/bin'],
# NOTE: This will make it difficult to upgrade to a newer version
# (VMware-Player will need to be uninstalled prior to upgrade)
creates => '/usr/bin/vmplayer',
}Should I add this to the virtualization section with a PR?
It would require some kind of cleanup to ensure uninstalling and upgrading is possible, and to avoid that the package is downloaded and installed in continuation.
Metadata
Metadata
Assignees
Labels
No labels