Issue #11989 has been updated by Eric Seynaeve.
We also hit this problem. The VMWare driver for ESXi5 only has an upstart
configuration in RHEL6.
Manually specifying the upstart provider gives mention that it's not supported
on RHEL6. However, the default provider doesn't see that vmware-tools is only
available in upstart as Dominic indicates.
Our workaround is manually specify the status, start, stop and restart commands:
hasrestart => true,
hasstatus => true,
restart => '/sbin/initctl restart vmware-tools',
start => '/sbin/initctl start vmware-tools',
stop => '/sbin/initctl stop vmware-tools',
status => '/sbin/initctl status vmware-tools | grep "/running" 1>/dev/null
2>&1',
As you can imagine, this is quite cumbersome.
----------------------------------------
Bug #11989: upstart service operating system confine should include redhat and
centos
https://projects.puppetlabs.com/issues/11989#change-63660
Author: Nathan Huff
Status: Accepted
Priority: Normal
Assignee:
Category: service
Target version:
Affected Puppet version: 2.7.9
Keywords: upstart simplefix
Branch:
RedHat EL 6 and Centos 6 both use upstart for init. The upstart service type
should be able to be used on those systems as well.
I have done some very minor testing to make sure it at least works to ensure
services are running and stopped.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.