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

backwards compatibility for puppet template riemann.conf.erb #254

Closed
grvalex opened this issue Aug 19, 2013 · 1 comment
Closed

backwards compatibility for puppet template riemann.conf.erb #254

grvalex opened this issue Aug 19, 2013 · 1 comment

Comments

@grvalex
Copy link

grvalex commented Aug 19, 2013

The version of upstart in Ubuntu 10.x doesn't support the "setuid" directive. The easy fix is to wrap it in a version check:

<% if @lsbmajdistrelease.to_d > 10 then -%>
setuid <%= user %>
<% end -%>

@aphyr
Copy link
Collaborator

aphyr commented Aug 19, 2013

That's a good suggestion, and you should let the folks who maintain puppet templates know about it. :)

@aphyr aphyr closed this as completed Aug 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants