propellor spin
This commit is contained in:
parent
479045277b
commit
4bcd5816d1
|
@ -6,7 +6,6 @@ import qualified Propellor.Property.Apt as Apt
|
|||
import qualified Propellor.Property.Service as Service
|
||||
|
||||
import Data.List
|
||||
import System.Posix.Files
|
||||
|
||||
providerFor :: [UserName] -> String -> Property
|
||||
providerFor users baseurl = propertyList desc $
|
||||
|
|
|
@ -48,6 +48,11 @@ hosts =
|
|||
& cname "ancient.kitenet.net"
|
||||
& Docker.docked hosts "ancient-kitenet"
|
||||
|
||||
-- I'd rather this container were on diatom, but
|
||||
-- docker.io is not available in stable.
|
||||
& cname "kgb.kitenet.net"
|
||||
& Docker.docked hosts "kgb-server"
|
||||
|
||||
& Docker.garbageCollected `period` Daily
|
||||
& Apt.installed ["git-annex", "mtr", "screen"]
|
||||
|
||||
|
@ -86,15 +91,12 @@ hosts =
|
|||
`requires` Ssh.authorizedKeys "family"
|
||||
`requires` User.accountFor "family"
|
||||
& Apt.installed ["git", "git-annex", "rsync", "kgb-client-git"]
|
||||
& File.hasPrivContentExposed "/etc/kgb-bot/kgb-client.conf"
|
||||
& Git.daemonRunning "/srv/git"
|
||||
-- ssh keys for branchable and github repo hooks
|
||||
-- TODO: upgrade to newer git-annex-shell for notification
|
||||
-- gitweb
|
||||
|
||||
& cname "kgb.kitenet.net"
|
||||
& Docker.docked hosts "kgb-server"
|
||||
& File.hasPrivContentExposed "/etc/kgb-bot/kgb-client.conf"
|
||||
|
||||
& cname "downloads.kitenet.net"
|
||||
& Apt.buildDep ["git-annex"] `period` Daily
|
||||
-- downloads.kitenet.net setup (including ssh key to turtle)
|
||||
|
|
Loading…
Reference in New Issue