I want to deploy a git puppi project (puppi::project::git) with option keep_gitdata == false because I don't want .git directory in the final deploy root.
The problem I'm having is that a clone of the git directory is done in /var/lib/puppi/archive/<project>-git/gitrepo, but it is no copied in the deploy_root directory.
I think the problem is a bug in git.sh script, in lines:
if [ "x$gitdir" == "x$archivedir/$project-git" ] ; then
rsync -a --exclude=".git" $gitdir/$gitsubdir $deploy_root/
else
and I think that check has to be:
if [ "x$gitdir" == "x$archivedir/$project-git/gitrepo" ] ; then
Am I right?
I want to deploy a git puppi project (
puppi::project::git) with optionkeep_gitdata == falsebecause I don't want .git directory in the final deploy root.The problem I'm having is that a clone of the git directory is done in
/var/lib/puppi/archive/<project>-git/gitrepo, but it is no copied in thedeploy_rootdirectory.I think the problem is a bug in
git.shscript, in lines:and I think that check has to be:
Am I right?