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

Ensure god starts correctly after first install #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mhaylock
Copy link

@mhaylock mhaylock commented Aug 5, 2015

This PR modifies the resource dependencies to ensure that the gem and configuration files are all in place before Puppet will attempt to restart it.

This problem was previously raised with #5, an attempt to fix was made but myself and others still observe it failing.

In practice the exact symptom I was seeing was the god does end up started thanks to the capistrano task god:restart, but the daemon is not being monitored (i.e. sudo status god returns god stop/waiting rather than something like god start/running, process 31872).

Without these changes the execution order can change and god can be restarted without all the configuration files being in place or the gem being installed.
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

Successfully merging this pull request may close these issues.

1 participant