« Previous | Next » 

Revision 954ff0d8

ID954ff0d8274b2f2833e8eb78f082dfd6f87a49d3

Added by Dimitris Aragiorgis about 10 years ago

deploy: Fix case where node doesn't have authorized_keys

Since we are inserting ssh keys, we first backup existing
authorized_keys and append them later to our uploaded file.

If authorized_keys did not exist, neither will authorized_keys.bak .
So `test -e` in the initialize method of SSH component will
fail and fabric will abort. Here we fix this case.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences