You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the initial deployment to an app server, we want to initiate a puppet run. This would be in the 'deploy' task and before the 'touch tmp/restart.txt' or 'touch app_init.wsgi' actions.
The goal would be:
Determine if the puppet run is needed (did mkdir create a new deploy_path)
Run puppet (check exit code). Watch out puppet agent exit codes can be diverse
Initiate passenger or wsgi restart only of the puppet agent run was successful
The text was updated successfully, but these errors were encountered:
This all could be done very easily once the app types get moved to python classes. Currently with the json structure it is not very easy to do logic calculations.
Yes, but there's some consideration to be made on whether action/logic should live in the actual processors or in the task/actions. I'm still wrapping my own head around those on a case by case basis.
After the initial deployment to an app server, we want to initiate a puppet run. This would be in the 'deploy' task and before the 'touch tmp/restart.txt' or 'touch app_init.wsgi' actions.
The goal would be:
The text was updated successfully, but these errors were encountered: