sweetyhigh
activity item
Jun 28
Following Question
Rails Application with Nginx and Unicorn

Right now I am using the base application cookbook to deploy my application with unicorn. However I am looking to use nginx as out web server and unicorn as our application server.

With the current implementation of the application cookbook is it possible to add nginx into the mix? Or am I completely missing something here?

more →
Jun 28
New Question
Rails Application with Nginx and Unicorn

Right now I am using the base application cookbook to deploy my application with unicorn. However I am looking to use nginx as out web server and unicorn as our application server.

With the current implementation of the application cookbook is it possible to add nginx into the mix? Or am I completely missing something here?

more →
Jun 28
Following Question
Rails Application with Nginx and Unicorn

Right now I am using the base application cookbook to deploy my application with unicorn. However I am looking to use nginx as out web server and unicorn as our application server.

With the current implementation of the application cookbook is it possible to add nginx into the mix? Or am I completely missing something here?

more →
Jun 28
New Question
Rails Application with Nginx and Unicorn

Right now I am using the base application cookbook to deploy my application with unicorn. However I am looking to use nginx as out web server and unicorn as our application server.

With the current implementation of the application cookbook is it possible to add nginx into the mix? Or am I completely missing something here?

more →
2012
Question Edited
application cookbook with node js

I have modified that opscode application cookbook to include support for node servers and applications. So far things have worked out pretty well and I only have one issue.

When I get to the point where the recipe should clone the repository from git I am prompted to enter the passphrase for the deploy key. The odd thing about this is no passphrase was created for this deploy key.

This is what I am seeing during provisioning:

ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: execute[npm] ran successfully 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing directory[/data/shared] action create (application::node line 23) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] created directory /data/shared 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] owner changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] group changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing ruby_block[write_key] action create (application::node line 32) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: ruby_block[write_key] called 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing file[/data/id_deploy] action create (application::node line 41) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: file[/data/id_deploy] mode changed to 600 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing template[/data/deploy-ssh-wrapper] action create (application::node line 47) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] updated content 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing deploy_revision[node_app] action deploy (application::node line 57) 
ec2-23-20-232-88.compute-1.amazonaws.com Enter passphrase for key ‘/data/id_deploy’:

This is the current state of my recipe: https://gist.github.com/2423774

This is the current state of my data bag(deploy_key/repository removed): https://gist.github.com/2423781

more →
2012
Question Edited
application cookbook with node js

I have modified that opscode application cookbook to include support for node servers and applications. So far things have worked out pretty well and I only have one issue.

When I get to the point where the recipe should clone the repository from git I am prompted to enter the passphrase for the deploy key. The odd thing about this is no passphrase was created for this deploy key.

This is what I am seeing during provisioning:

ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: execute[npm] ran successfully 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing directory[/data/shared] action create (application::node line 23) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] created directory /data/shared 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] owner changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] group changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing ruby_block[write_key] action create (application::node line 32) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: ruby_block[write_key] called 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing file[/data/id_deploy] action create (application::node line 41) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: file[/data/id_deploy] mode changed to 600 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing template[/data/deploy-ssh-wrapper] action create (application::node line 47) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] updated content 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing deploy_revision[node_app] action deploy (application::node line 57) 
ec2-23-20-232-88.compute-1.amazonaws.com Enter passphrase for key ‘/data/id_deploy’:

This is the current state of my recipe: https://gist.github.com/2423774

This is the current state of my data bag(deploy_key/repository removed): https://gist.github.com/2423781

more →
2012
Following Question
application cookbook with node js

I have modified that opscode application cookbook to include support for node servers and applications. So far things have worked out pretty well and I only have one issue.

When I get to the point where the recipe should clone the repository from git I am prompted to enter the passphrase for the deploy key. The odd thing about this is no passphrase was created for this deploy key.

This is what I am seeing during provisioning:

ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: execute[npm] ran successfully 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing directory[/data/shared] action create (application::node line 23) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] created directory /data/shared 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] owner changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] group changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing ruby_block[write_key] action create (application::node line 32) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: ruby_block[write_key] called 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing file[/data/id_deploy] action create (application::node line 41) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: file[/data/id_deploy] mode changed to 600 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing template[/data/deploy-ssh-wrapper] action create (application::node line 47) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] updated content 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing deploy_revision[node_app] action deploy (application::node line 57) 
ec2-23-20-232-88.compute-1.amazonaws.com Enter passphrase for key ‘/data/id_deploy’:

This is the current state of my recipe: https://gist.github.com/2423774

This is the current state of my data bag(deploy_key/repository removed): https://gist.github.com/2423781

more →
2012
New Question
application cookbook with node js

I have modified that opscode application cookbook to include support for node servers and applications. So far things have worked out pretty well and I only have one issue.

When I get to the point where the recipe should clone the repository from git I am prompted to enter the passphrase for the deploy key. The odd thing about this is no passphrase was created for this deploy key.

This is what I am seeing during provisioning:

ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: execute[npm] ran successfully 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing directory[/data/shared] action create (application::node line 23) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] created directory /data/shared 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] owner changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] group changed to 0 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: directory[/data/shared] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing ruby_block[write_key] action create (application::node line 32) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: ruby_block[write_key] called 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing file[/data/id_deploy] action create (application::node line 41) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: file[/data/id_deploy] mode changed to 600 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing template[/data/deploy-ssh-wrapper] action create (application::node line 47) 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] mode changed to 755 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: template[/data/deploy-ssh-wrapper] updated content 
ec2-23-20-232-88.compute-1.amazonaws.com [Thu, 19 Apr 2012 20:09:23 +0000] INFO: Processing deploy_revision[node_app] action deploy (application::node line 57) 
ec2-23-20-232-88.compute-1.amazonaws.com Enter passphrase for key ‘/data/id_deploy’:

This is the current state of my recipe: https://gist.github.com/2423774

This is the current state of my data bag(deploy_key/repository removed): https://gist.github.com/2423781

more →