aboutsummaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-12 23:50:18 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-12 23:50:18 -0500
commit5aa2283f9951b3e035824b54bd0277ebf4394ffa (patch)
treedf93cef70ce1d49576b9a98f165e8dfc6aaa52f7 /vars
parent6512242bc03acf2bdaa4fea6fcc7fe51c2330f03 (diff)
downloadinfrastructure-5aa2283f9951b3e035824b54bd0277ebf4394ffa.tar.gz
add gitolite/cgit
Diffstat (limited to 'vars')
-rw-r--r--vars/hostclass/git_server7
-rw-r--r--vars/hostname/git14
2 files changed, 11 insertions, 0 deletions
diff --git a/vars/hostclass/git_server b/vars/hostclass/git_server
new file mode 100644
index 0000000..1625d52
--- /dev/null
+++ b/vars/hostclass/git_server
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+gitolite_local_user=git
+
+allowed_tcp_ports='ssh http https'
+nginx_gssapi=true
+login_access_users="${login_access_users:-} ${gitolite_local_user}"
diff --git a/vars/hostname/git1 b/vars/hostname/git1
new file mode 100644
index 0000000..b9aa2d6
--- /dev/null
+++ b/vars/hostname/git1
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cnames=git
+cgit_clone_urls="https://git.${domain} ssh://git@git.${domain}"}