[copr][dist-git] install config for copr-dist-git

This commit is contained in:
Valentin Gologuzov 2015-07-23 11:09:40 +02:00
parent d32e32fdca
commit 68bb45b037
4 changed files with 15 additions and 0 deletions

View file

@ -11,3 +11,5 @@ resolvconf: "resolv.conf/cloud"
backend_base_url: "https://copr-be.cloud.fedoraproject.org"
postfix_maincf: "postfix/main.cf/main.cf.copr"
frontend_base_url: "https://copr.fedoraproject.org"

View file

@ -12,3 +12,5 @@ resolvconf: "resolv.conf/cloud"
backend_base_url: "http://copr-be-dev.cloud.fedoraproject.org"
postfix_maincf: "postfix/main.cf/main.cf.copr"
frontend_base_url: "http://copr-fe-dev.cloud.fedoraproject.org"

View file

@ -43,6 +43,9 @@
authorized_key: user="copr-dist-git" key="{{pubkey}}" key_options="command=\"HOME=/var/lib/dist-git/git/ /usr/share/gitolite3/gitolite-shell $USER \"'"
## keys done
- name: install config for copr-dist-git
template: src=copr-dist-git.conf.j2 dest=/etc/copr/copr-dist-git.conf
- name: install config for httpd to serve lookaside openly
copy: src="httpd/lookaside.conf" dest="/etc/httpd/conf.d/dist-git/lookaside.conf"
tags:

View file

@ -0,0 +1,8 @@
[dist-git]
# default is http://coprs/rest/api
frontend_base_url={{frontend_base_url}}
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
# default is PASSWORDHERE but you really should change it. really.
frontend_auth={{ copr_backend_password }}