-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
Service[nginx] seems to have an exec that fails due to being an empty string #242
Comments
Also, this is Ubuntu 12.04 Precise amd64. Results of /etc/init.d/nginx status:
|
Woah. That's wild. I've never seen such a thing. Let me ask a few things to put this in context:
I'd love to get more data, but I really don't even quite know where to start attacking this since it's just... well... odd. My gut says this is a weird puppet parsing error we just need to suss out. I'll also setup an environment on my end tomorrow morning to see if I can reproduce this, but any info you can share in the meantime would be super helpful. |
Yea... first time for me also. These machines are AWS instances, that I can spin up and tear down with 10~mins notice (100% ephemeral). I believe the first puppet catalog run actually succeeds without any issues, and only when a refresh is scheduled due to a config file change does this issue occur. I am currently running my fork from https://github.com/CpuID/puppet-nginx which is about 10 commits behind your master branch. I reviewed the commits between our branches and could not see anything close to relevant here... but I am happy to test your master branch to verify if it's deemed relevant. I can successfully restart nginx manually, without any issues after puppet completes. This is currently the only failure throughout my catalog run, all other resources execute successfully. |
I think I may have a source of what is causing this, I have configtest_enable turned on. service.pp:
Is it possible that if lines 32/33/34 are executed, the actual command called is empty? I can confirm that any config file changes that trigger a refresh cause this exit code 1 for me right now, reproducible. |
OK - I take this back entirely, I was setting service_restart to an empty string :| User error, move along... haha. |
Not sure how this is actually happening, but reporting here for further input. Puppet 3.4.2.
The text was updated successfully, but these errors were encountered: