Skip to content

TROUBLESHOOTING Git settings in centos

Why do that

During the punchplatform-deplor.sh configuration_install on Centos, you could have the following output :

1
2
3
4
5
6
7
PLAY RECAP *************************************************************************************************************************************************************************************************
test1                      : ok=8    changed=6    unreachable=0    failed=0   


LOG: initializing the git remote configuration...
ssh: Could not resolve hostname test1:: Name or service not known
fatal: Could not read from remote repository.

It means you can't push your commit in your git_bare cause of you could not resolve the hostname

What to do

In the punchplatform-deployment.settings add the port to your "git_bare_server_address" variable :

1
"git_bare_server_address" : "test1:22",

It should work!!