- From: Liam Kirsher <
>
- To: "
" <
>
- Subject: [chef] Git "nonexistent/.ssh" issue
- Date: Fri, 07 Jun 2013 17:29:21 -0700
- Openpgp: id=7011F7B7; url=http://liam.numenet.com/pgp/
Okay, so I've abandoned using Mercurial and converted repo to Git.
I'm using git from within the Application cookbook, which uses scm.
Looks like it fails because it can't create the file and dir for the
user it is running as (presumably root).
Any idea how to fix that?
I'm getting my deploy_key from a data bag. Just to confirm -- the
deploy_key is the ascii representation of the key, not a file path,
right?
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '128'
---- Begin output of git ls-remote
:lkirsher/server-git.git">
:lkirsher/server-git.git master ----
STDOUT:
STDERR: Could not create directory '/nonexistent/.ssh'.
Failed to add the host to the list of known hosts
(/nonexistent/.ssh/known_hosts).
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
---- End output of git ls-remote
:lkirsher/server-git.git">
:lkirsher/server-git.git master ----
Ran git ls-remote
:lkirsher/server-git.git">
:lkirsher/server-git.git
master returned 128
--
Liam Kirsher
PGP: http://liam.numenet.com/pgp/
|
- [chef] Git "nonexistent/.ssh" issue, Liam Kirsher, 06/07/2013
Archive powered by MHonArc 2.6.16.