propellor spin
This commit is contained in:
parent
9024342330
commit
de07d0f720
|
@ -364,6 +364,7 @@ iabak = host "iabak.archiveteam.org"
|
||||||
& IABak.gitServer monsters
|
& IABak.gitServer monsters
|
||||||
& IABak.registrationServer monsters
|
& IABak.registrationServer monsters
|
||||||
& IABak.graphiteServer
|
& IABak.graphiteServer
|
||||||
|
& IABak.publicFace
|
||||||
where
|
where
|
||||||
admins = map User ["joey", "db48x"]
|
admins = map User ["joey", "db48x"]
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,13 @@ repo = "https://github.com/ArchiveTeam/IA.BAK/"
|
||||||
userrepo :: String
|
userrepo :: String
|
||||||
userrepo = "git@gitlab.com:archiveteam/IA.bak.users.git"
|
userrepo = "git@gitlab.com:archiveteam/IA.bak.users.git"
|
||||||
|
|
||||||
|
publicFace :: Property HasInfo
|
||||||
|
publicFace = propertyList "iabak public face" $ props
|
||||||
|
& Git.cloned (User "root") repo "/usr/local/IA.BAK" (Just "server")
|
||||||
|
& Apt.serviceInstalledRunning "apache2"
|
||||||
|
& Cron.niceJob "graph-gen" (Cron.Times "*/10 * * * *") (User "root") "/"
|
||||||
|
"/usr/local/IA.BAK/web/graph-gen.sh"
|
||||||
|
|
||||||
gitServer :: [Host] -> Property HasInfo
|
gitServer :: [Host] -> Property HasInfo
|
||||||
gitServer knownhosts = propertyList "iabak git server" $ props
|
gitServer knownhosts = propertyList "iabak git server" $ props
|
||||||
& Git.cloned (User "root") repo "/usr/local/IA.BAK" (Just "server")
|
& Git.cloned (User "root") repo "/usr/local/IA.BAK" (Just "server")
|
||||||
|
|
Loading…
Reference in New Issue