Skip to content

Ensure god starts correctly after first install#10

Open
mhaylock wants to merge 2 commits intorailsmachine:masterfrom
resolve:fix_resource_ordering
Open

Ensure god starts correctly after first install#10
mhaylock wants to merge 2 commits intorailsmachine:masterfrom
resolve:fix_resource_ordering

Conversation

@mhaylock
Copy link
Copy Markdown

@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