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

Possible support for Node.js #5

Open
fancyremarker opened this issue Sep 13, 2013 · 1 comment
Open

Possible support for Node.js #5

fancyremarker opened this issue Sep 13, 2013 · 1 comment

Comments

@fancyremarker
Copy link

Instead of a restart Rails app APPNAME resource, the default OpsWorks Node.js provides a restart node.js application APPNAME resource. (See here.)

Would you be opposed to supporting multiple application types in this cookbook? How would you like the type of an app to be defined in the configuration? Or, alternatively, is there another more generic resource that can be called instead of restart Rails app APPNAME?

@joeyAghion
Copy link
Owner

I don't know a great way to abstract the restart command from the custom_env_template definition while also skipping it when there are no changes. At worst, I suppose this cookbook could contain multiple recipes for different application types, each one notifying a service or executing a ruby block as necessary.

Do you know if it's possible to call notifies(:run, ...) in such a way that it can trigger the already-defined node restart block?

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

No branches or pull requests

2 participants