Removed CentOS glibc kludge from vmware::server.

This commit is contained in:
Timo Mkinen 2011-04-18 09:20:05 +03:00
parent 1c051a1e2b
commit 36ef7808ab
3 changed files with 0 additions and 41 deletions

Binary file not shown.

View file

@ -1,9 +0,0 @@
--- vmware-hostd.orig 2010-10-14 20:18:17.000000000 +0300
+++ vmware-hostd 2010-10-14 20:18:31.000000000 +0300
@@ -370,4 +370,6 @@
export MALLOC_CHECK_=2
fi
+export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH
+
eval exec "$DEBUG_CMD" "$binary" "$@"

View file

@ -15,38 +15,6 @@ 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:///modules/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:///modules/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":