Tag Info

New answers tagged

2

You need to contact the gitlab developers and obtain an updated package which is compatible with EL7. This is failing because it can't find various bits of upstart which is only present in EL6.


1

Puppet makes some assumptions about the permissions of some files in /etc/puppet (and the directory itself, I believe). As such, you likely will not be able to make that location writeable to your regular account. This is usually not a good choice anyway. If you want to work in /etc/puppet directly, you should work as root - sudo is an ill fit here. Try ...


0

On my windows 7 system GitGui looks for the RSA key in the userprofile/.ssh folder or more specifically c:/users/yourusername/.ssh/ The tricky part for my setup was getting the shared host at hostmonster to accept the key. The only way I could get it to work was by using GitGui to create the key pairs (without a password) and then copy and pasting the ...


1

You're not calling git clone; you're calling sudo which switches to a completely different Unix account (root) and only then calls git clone. The result, as you'd also notice with sudo ssh -v ..., is that ssh is looking for private keys in directories belonging to root, not you. Since sudo cleans the environment by default, ssh cannot use your SSH agent ...


0

We ended up solving this by using the git user account on that server to host read-only repositories the mirrored the gitlab ones. We then used the gitlab user for running gitlab.


0

I haven't looked, but in general you probably need some kind of PAM plugin for that. Someone describes how to to do it here, but I haven't tried it, so YMMV.


2

If you don't want to do it by hand, you could use etckeeper: http://joeyh.name/code/etckeeper/ which is specifically made for that purpose.


1

Use a proper configuration management tool e.g. puppet, chef or similr and store their configs in git. This may have an initial cost but it's smaller than havimg to go back and fit it all at a later date.


1

I am late but In future this will help to other people insted of https://username@bitbucket.org/username/repo.git replace this https://bitbucket.org/username/repo.git in the Git Repository URL


0

Look into using Berfshelf and the environment cookbook pattern. This design pattern puts all cookbooks in their own repos, public or private. Specifically, for the configuration of particular servers, you can use a cookbook in a private repo with a recipe using node.set as mentioned in that blog post. Or set attributes in the attributes/default.rb with a ...



Top 50 recent answers are included