Added glibc fix to vmware::server on CentOS.
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=23365&start=0#forumpost91494
This commit is contained in:
parent
5b36025d6c
commit
3465159876
3 changed files with 41 additions and 0 deletions
|
@ -15,6 +15,38 @@ class vmware::server {
|
|||
Exec["vmware-config.pl"], ],
|
||||
}
|
||||
|
||||
if $operatingsystem == "CentOS" {
|
||||
file { "/usr/lib/vmware/lib/libc.so.6":
|
||||
ensure => directory,
|
||||
mode => 0755,
|
||||
owner => root,
|
||||
group => root,
|
||||
require => Package["VMware-server"],
|
||||
}
|
||||
file { "/usr/lib/vmware/lib/libc.so.6/libc.so.6":
|
||||
ensure => present,
|
||||
source => "puppet:///vmware/libc.so.6",
|
||||
mode => 0755,
|
||||
owner => root,
|
||||
group => root,
|
||||
require => File["/usr/lib/vmware/lib/libc.so.6"],
|
||||
before => Service["vmware"],
|
||||
}
|
||||
file { "/usr/local/src/vmware-hostd.patch":
|
||||
ensure => present,
|
||||
source => "puppet:///vmware/vmware-hostd.patch",
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
require => Package["VMware-server"],
|
||||
}
|
||||
util::patch { "/usr/sbin":
|
||||
source => "/usr/local/src/vmware-hostd.patch",
|
||||
require => File["/usr/local/src/vmware-hostd.patch"],
|
||||
before => Service["vmware"],
|
||||
}
|
||||
}
|
||||
|
||||
# seems that vmware init script fails if pid files are missing for vmnet
|
||||
# processes, so kill them by force first
|
||||
exec { "vmware-config.pl":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue