propellor spin

This commit is contained in:
Joey Hess 2015-02-10 21:01:38 -04:00
parent 5ae2a1dc3c
commit 8d73419dbe
Failed to extract signature
1 changed files with 2 additions and 1 deletions

View File

@ -150,9 +150,10 @@ gitServer hosts = propertyList "git.kitenet.net setup" $ props
`requires` Ssh.authorizedKeys "family" (Context "git.kitenet.net")
`requires` User.accountFor "family"
& Apt.installed ["git", "rsync", "gitweb"]
& Apt.installed ["kgb-client"]
& Apt.installed ["git-annex"]
& Apt.installed ["kgb-client"]
& File.hasPrivContentExposed "/etc/kgb-bot/kgb-client.conf" anyContext
`requires` File.dirExists "/etc/kgb-bot/"
& Git.daemonRunning "/srv/git"
& "/etc/gitweb.conf" `File.containsLines`
[ "$projectroot = '/srv/git';"