popularity
question
0

application cookbook with node js

recipe
chef
application

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