2016-08-30 2 views
-2

Amazon Linux 2016으로 업그레이드 한 이후로 저장소를 찾을 수 없다는 Chef 오류가 발생합니다. 나는 다른 저장소를 변경하지 않았지만 동일한 저장소에 연결하고 있지만 OS를 업그레이드하지 않은 다른 인스턴스에서는 모든 것이 제대로 작동합니다. 어떤 아이디어?Amazon Linux 2016로 업그레이드 한 후 Chef 오류가 발생했습니다.

Error executing action `checkout` on resource 'git[Download Custom Cookbooks]' 
================================================================================ 


Mixlib::ShellOut::ShellCommandFailed 
------------------------------------ 
Expected process to exit with [0], but received '128' 
---- Begin output of git ls-remote "https://github.com:CompanyName/repo" master* ---- 
STDOUT: 
STDERR: fatal: repository 'https://github.com:CompanyName/repo/' not found 
---- End output of git ls-remote "https://github.com:CompanyName/repo" master* ---- 
Ran git ls-remote "https://github.com:CompanyName/repo" master* returned 128 
+0

잘못된 원격 URL을 사용하고있는 것 같습니다. https://github.com/CompanyName/repo 또는 [email protected]이어야합니다. CompanyName/repo – jedifans

+0

def가 올바른 원격입니다. 업 그레 이드까지, 그것은 잘 동작했다. 내 다른 인스턴스의 동일한 리모컨이 잘 작동합니다. – cubsker

+0

콜론 대신 슬래시를 사용하면 def가 콜론을 원하기 때문에 오류가 발생합니다. – cubsker

답변

0

git 구문을 혼합합니다. repository "https://github.com/CompanyName/repo.git"을 원할 경우 콜론은 gitssh 전송 (HTTP가 아님) 일 것입니다.

관련 문제