From 4cf5876a7cab120b0b3baad67f02a7f7baa94a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 11 Jun 2013 14:32:40 -0300 Subject: [PATCH] Use the boxen-git-credential for all repositories clones. This is required since puppet run all the comands as root and the credential config is only present on the user land. The lack of this configuration is making clones using https to not work since the credential is not present for the root. Closes #286 --- manifests/site.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index 869dca2..d90acfd 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -39,7 +39,10 @@ Repository { extra => [ '--recurse-submodules' ], - require => Class['git'] + require => Class['git'], + config => { + 'credential.helper' => "${boxen::config::bindir}/boxen-git-credential" + } } Service {