Hi, 
  currently the install fails for me with this:

debug: Executing 'sh -c 'cd /var/www/gitorious/app && git fetch --tags && 
git branch -D ce-installed  ; git checkout -b ce-installed v2.4.9 && touch 
/var/www/gitorious/deployed_tags/v2.4.9''
err: 
/Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[fetch_gitorious_tag]/returns:
 
change from notrun to 0 failed: sh -c 'cd /var/www/gitorious/app && git 
branch master && git fetch --tags && git branch -D ce-installed  ; git 
checkout -b ce-installed v2.4.9 && git branch ce-installed && touch 
/var/www/gitorious/deployed_tags/v2.4.9' returned 128 instead of one of [0] 
at /root/ce-installer/modules/gitorious/manifests/templates.pp:22
notice: 
/Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[post_version_upgrade]:
 
Dependency Exec[fetch_gitorious_tag] has failures: true
warning: 
/Stage[main]//Node[gitorious-ce]/Gitorious::Version[v2.4.9]/Exec[post_version_upgrade]:
 
Skipping because of failed dependencies


I tracked it was because the ce-installed branch could not be deleted as 
that was the active branch.
so I changed ce-installer/modules/gitorious/manifests/templates.pp:22 to 
this:

    command => "sh -c 'cd ${gitorious::app_root} && git checkout master && 
git fetch --tags && git branch -D ce-installed  ; git checkout -b 
ce-installed $name && git checkout ce-installed && touch 
${gitorious::deployed_tags_dir}/$name'",


It installed happily.
Perhaps someone could submit a patch?

Bests,
András

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to