On Tuesday, June 19, 2012 at 11:25 PM, David Montgomery wrote:
Hi,The below is how I am doing an initial checkout from git and syncingevery chef run. I am using using a bare bones ubuntu AMI with git andSSH keys authed with git hub. All works find using this method.git "/home/ubuntu/workspace/MyRepo" dorepository " "> :mycomoany/MyRepo.git"reference branch_nameaction :syncuser "root"endI prefer to use https with username and password auth for git withhttps clone. Per the docs, it seems that that the git resource hasusename and password for the repo. Only SVN. I can do a pythonscript using pexpect for auth but that seems overkill. Anywayto use the git resource?Thanks
Archive powered by MHonArc 2.6.16.