Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL6 complaints about service startup when using esx 5.0 #21

Closed
technologistpro opened this issue Dec 31, 2013 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@technologistpro
Copy link

When running on RHEL6 and esx5.0
...
err: /Stage[main]/Vmwaretools/Service[vmware-tools-services]/ensure: change from stopped to running failed: Could not start Service[vmware-tools-services]: Execution of '/sbin/start vmware-tools-services' returned 1: at /etc/puppetlabs/puppet/modules/vmwaretools/manifests/init.pp:287
...
It is trying to use /sbin/start instead of /sbin/service /vmware-tools-services start

The problem is in the regex, it is using one or more instead of zero or more, the fix is to change + to *:

  $rhel_upstart = $tools_version ? {
    /3\..+/   => false,
    /4\..+/   => false,
   ### /(5.0).+/ => false,
    /(5.0).*/ => false,
    default   => true,
  }
@razorsedge
Copy link
Contributor

This is solved in #22.

@razorsedge razorsedge added the bug Something isn't working label Sep 22, 2014
razorsedge added a commit that referenced this issue Sep 22, 2014
Corresponds with eb1c537 and fixes issue #21.
@razorsedge razorsedge self-assigned this Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants