propellor spin

This commit is contained in:
Joey Hess 2014-05-09 09:42:45 -03:00
parent 190e98af7e
commit 1123b9b469
Failed to extract signature
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,8 @@ kgbServer = withOS desc $ \o -> case o of
mumbleServer :: [Host] -> Property mumbleServer :: [Host] -> Property
mumbleServer hosts = combineProperties "mumble.debian.net" mumbleServer hosts = combineProperties "mumble.debian.net"
[ Obnam.latestVersion [ Apt.serviceInstalledRunning "mumble-server"
, Obnam.latestVersion
, Obnam.backup "/var/lib/mumble-server" "55 5 * * *" , Obnam.backup "/var/lib/mumble-server" "55 5 * * *"
[ "--repository=sftp://joey@turtle.kitenet.net/~/lib/backup/mumble.debian.net.obnam" [ "--repository=sftp://joey@turtle.kitenet.net/~/lib/backup/mumble.debian.net.obnam"
, "--client-name=mumble" , "--client-name=mumble"
@ -113,7 +114,6 @@ mumbleServer hosts = combineProperties "mumble.debian.net"
`requires` Ssh.keyImported SshRsa "root" `requires` Ssh.keyImported SshRsa "root"
`requires` Ssh.knownHost hosts "turtle.kitenet.net" "root" `requires` Ssh.knownHost hosts "turtle.kitenet.net" "root"
, trivial $ cmdProperty "chown" ["-R", "mumble-server:mumble-server", "/var/lib/mumble-server"] , trivial $ cmdProperty "chown" ["-R", "mumble-server:mumble-server", "/var/lib/mumble-server"]
, Apt.serviceInstalledRunning "mumble-server"
] ]
obnamLowMem :: Property obnamLowMem :: Property