From 87c1fe982a391461d66efa99688ada9a0c808226 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2014 22:22:23 -0400 Subject: propellor spin --- Propellor/Property/SiteSpecific/JoeySites.hs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Propellor/Property') diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs index b43d83f8..88f256c4 100644 --- a/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/Propellor/Property/SiteSpecific/JoeySites.hs @@ -102,6 +102,19 @@ kgbServer = withOS desc $ \o -> case o of where desc = "kgb.kitenet.net setup" +mumbleServer :: [Host] -> Property +mumbleServer hosts = combineProperties "mumble.debian.net" + [ Obnam.latestVersion + , Obnam.backup "/var/lib/mumble-server" "55 5 * * *" + [ "--repository=sftp://joey@turtle.kitenet.net/~/lib/backup/mumble.debian.net.obnam" + , "--client-name=mumble" + ] Obnam.OnlyClient + `requires` Ssh.keyImported SshRsa "root" + `requires` Ssh.knownHost hosts "turtle.kitenet.net" "root" + `requires` User.accountFor "mumble-server" + , Apt.installed ["mumble-server"] + ] + -- git.kitenet.net and git.joeyh.name gitServer :: [Host] -> Property gitServer hosts = propertyList "git.kitenet.net setup" -- cgit v1.2.3