[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] Bug in put? "Current directory" on local doesn't seem to be "
From: |
Steve Steiner |
Subject: |
[Fab-user] Bug in put? "Current directory" on local doesn't seem to be "current directory" of script |
Date: |
Sun, 14 Jun 2009 23:29:41 -0400 |
This function fails:
def push_keys():
"""
Uploads our authorized_keys file to the .ssh folder of the user
on the
remote system so we don't have to use passwords any more
"""
put("authorized_keys", "~/.ssh/authorized_keys")
This succeeds:
def push_keys():
"""
Uploads our authorized_keys file to the .ssh folder of the user
on the
remote system so we don't have to use passwords any more
"""
put("./authorized_keys", "~/.ssh/authorized_keys")
Not sure what the "put" context is supposed to be but apparently it's
not the directory from which the current fabfile.py is being run.
S
- [Fab-user] Bug in put? "Current directory" on local doesn't seem to be "current directory" of script,
Steve Steiner <=