summaryrefslogtreecommitdiff
path: root/share/etc
diff options
context:
space:
mode:
Diffstat (limited to 'share/etc')
-rw-r--r--share/etc/cgitrc26
-rw-r--r--share/etc/gitano-setup.clod19
-rw-r--r--share/etc/lorry-controller/minion.conf6
-rw-r--r--share/etc/lorry-controller/webapp.conf12
-rw-r--r--share/etc/lorry.conf11
5 files changed, 74 insertions, 0 deletions
diff --git a/share/etc/cgitrc b/share/etc/cgitrc
new file mode 100644
index 0000000..28540dd
--- /dev/null
+++ b/share/etc/cgitrc
@@ -0,0 +1,26 @@
+clone-prefix=git://{{ TROVE_HOSTNAME }} http://{{ TROVE_HOSTNAME }}/git https://{{ TROVE_HOSTNAME }}/git ssh://git@{{ TROVE_HOSTNAME }}
+strict-export=git-daemon-export-ok
+
+css=/cgit/cgit.css
+logo=/trove.png
+
+head-include=/etc/cgit-trove-head.inc
+footer=/etc/cgit-trove-footer.inc
+
+enable-index-links=1
+root-title={{ TROVE_ID }} Git Repositories
+root-desc=Baserock Trove -- For {{ TROVE_COMPANY }}
+snapshots=tar.gz
+enable-commit-graph=1
+enable-log-filecount=1
+enable-log-linecount=1
+
+mimetype.gif=image/gif
+mimetype.html=text/html
+mimetype.jpg=image/jpeg
+mimetype.jpeg=image/jpeg
+mimetype.pdf=application/pdf
+mimetype.png=image/png
+mimetype.svg=image/svg+xml
+
+scan-path=/home/git/repos/
diff --git a/share/etc/gitano-setup.clod b/share/etc/gitano-setup.clod
new file mode 100644
index 0000000..511479f
--- /dev/null
+++ b/share/etc/gitano-setup.clod
@@ -0,0 +1,19 @@
+-- Configuration for gitano-setup
+
+paths.home "/home/git"
+paths.ssh "/home/git/.ssh"
+paths.pubkey "/home/git/.ssh/id_rsa.pub"
+paths.repos "/home/git/repos"
+paths.skel "/etc/gitano/skel/gitano-admin"
+
+admin.username "trove"
+admin.realname "Trove Instance Administrator"
+admin.email "trove@trove-instance"
+admin.keyname "trove"
+
+site.name "{{ TROVE_ID }} for {{ TROVE_COMPANY }}"
+log.prefix "{{ TROVE_ID }}"
+
+use.htpasswd "yes"
+
+setup.batch = true
diff --git a/share/etc/lorry-controller/minion.conf b/share/etc/lorry-controller/minion.conf
new file mode 100644
index 0000000..99abdba
--- /dev/null
+++ b/share/etc/lorry-controller/minion.conf
@@ -0,0 +1,6 @@
+[config]
+log = syslog
+log-level = debug
+webapp-host = localhost
+webapp-port = 12765
+webapp-timeout = 3600
diff --git a/share/etc/lorry-controller/webapp.conf b/share/etc/lorry-controller/webapp.conf
new file mode 100644
index 0000000..2e9df0d
--- /dev/null
+++ b/share/etc/lorry-controller/webapp.conf
@@ -0,0 +1,12 @@
+[config]
+log = /home/lorry/webapp.log
+log-max = 100M
+log-keep = 10
+log-level = debug
+statedb = /home/lorry/webapp.db
+configuration-directory = /home/lorry/confgit
+status-html = /home/lorry/lc-status.html
+wsgi = yes
+debug-port = 12765
+templates = /usr/share/lorry-controller/templates
+confgit-url = ssh://git@localhost/{{ TROVE_ID }}/local-config/lorries
diff --git a/share/etc/lorry.conf b/share/etc/lorry.conf
new file mode 100644
index 0000000..cc94e8d
--- /dev/null
+++ b/share/etc/lorry.conf
@@ -0,0 +1,11 @@
+[config]
+mirror-base-url-push = ssh://git@localhost
+mirror-base-url-fetch = git://{{ TROVE_HOSTNAME }}
+bundle = never
+bundle-dest = /home/lorry/bundles
+tarball = always
+tarball-dest = /home/lorry/tarballs
+working-area = /home/lorry/working-area
+verbose = yes
+log = /dev/stdout
+log-level = debug