-
Notifications
You must be signed in to change notification settings - Fork 61
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
Issue running write_config recipe on its own #11
Comments
Hi @swrobel. Yes--the That said, I achieve this for our worker layer by instead invoking a wrapper recipe that looks something like:
You'd replace the execute command with whatever's needed by your workers. Let me know if that works for you. Also, I'm very open to suggestions about how to improve this (while still allowing it to work seamlessly for standard rails layers). |
Hm, I don't really understand how
|
The I think I have an idea about how to make the recipe a little easier to re-use. I'll leave this open and follow up if I get that to work. |
Hey @joeyAghion did you have a chance to check out @swrobel's fix? Or play around with the idea you had? I am also facing the problem of running DJ on a non 'rails-app' worker instance... His fix appears to be a good solution to that problem. |
I get an error when trying to run
opsworks_custom_env::write_config
on my instances that aren't rails app servers (these are worker instances). Here is a gist of the stacktrace: https://gist.github.com/swrobel/933f8bac7279b5767fdeThe issue seems to have something to do with this line: https://github.com/joeyAghion/opsworks_custom_env/blob/master/definitions/custom_env_template.rb#L16
Aside from that, I'm at a bit of a loss ... any ideas?
The text was updated successfully, but these errors were encountered: