From 5aa2283f9951b3e035824b54bd0277ebf4394ffa Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 12 Nov 2024 23:50:18 -0500 Subject: add gitolite/cgit --- vars/hostclass/git_server | 7 +++++++ vars/hostname/git1 | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 vars/hostclass/git_server create mode 100644 vars/hostname/git1 (limited to 'vars') 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}"} -- cgit v1.2.3