propellor spin

This commit is contained in:
Joey Hess 2014-04-21 01:00:59 -04:00
parent b5ab37ad5b
commit 7d59a568a3
Failed to extract signature
2 changed files with 11 additions and 0 deletions

View File

@ -115,6 +115,16 @@ mumbleServer hosts = combineProperties "mumble.debian.net"
, Apt.serviceInstalledRunning "mumble-server" , Apt.serviceInstalledRunning "mumble-server"
] ]
obnamLowMem :: Property
obnamLowMem = propertyList "obnam tuned for low memory use"
[ Obnam.latestVersion
, "/etc/obnam.conf" `File.containsLines`
[ "# Suggested by liw to keep Obnam memory consumption down (at some speed cost)."
, "upload-queue-size = 128"
, "lru-size = 128"
]
]
-- git.kitenet.net and git.joeyh.name -- git.kitenet.net and git.joeyh.name
gitServer :: [Host] -> Property gitServer :: [Host] -> Property
gitServer hosts = propertyList "git.kitenet.net setup" gitServer hosts = propertyList "git.kitenet.net setup"

View File

@ -100,6 +100,7 @@ hosts = -- (o) `
& Apt.unattendedUpgrades & Apt.unattendedUpgrades
& Apt.serviceInstalledRunning "ntp" & Apt.serviceInstalledRunning "ntp"
& Postfix.satellite & Postfix.satellite
& JoeySites.obnamLowMem
& Apt.serviceInstalledRunning "apache2" & Apt.serviceInstalledRunning "apache2"
& File.hasPrivContent "/etc/ssl/certs/web.pem" & File.hasPrivContent "/etc/ssl/certs/web.pem"