Fixed vmware::guest::centos for Puppet 2.6
This commit is contained in:
parent
adf92c860d
commit
1389ec553e
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ class vmware::guest::centos {
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
exec { "vmware-config-tools.pl":
|
exec { "vmware-config-tools.pl":
|
||||||
command => "unset DISPLAY REMOTEHOST SSH_CONNECTION ; perl /usr/bin/vmware-config-tools.pl -d",
|
command => "/bin/sh -c 'unset DISPLAY REMOTEHOST SSH_CONNECTION ; perl /usr/bin/vmware-config-tools.pl -d'",
|
||||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||||
environment => [ "PAGER=/bin/cat", ],
|
environment => [ "PAGER=/bin/cat", ],
|
||||||
unless => "test -f /lib/modules/$kernelrelease/misc/vmci.ko",
|
creates => "/lib/modules/$kernelrelease/misc/vmci.ko",
|
||||||
require => Package["VMwareTools"],
|
require => Package["VMwareTools"],
|
||||||
}
|
}
|
||||||
service { "vmware-tools":
|
service { "vmware-tools":
|
||||||
|
|
Loading…
Add table
Reference in a new issue