summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-13 11:58:22 -0400
committerJoey Hess2014-04-13 11:58:22 -0400
commit456dd534ce2984535a9fc36bad2aff9e6ee2863a (patch)
treea981748a5c0a62c67832969c9e852c5741780821 /config-joey.hs
parent6d1263043112d0c70ae8d76fcbc998e6d853fafa (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs16
1 files changed, 11 insertions, 5 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 394881b4..71048cf3 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -73,6 +73,7 @@ hosts =
& cname "git.kitenet.net"
& Ssh.hostKey SshDsa
& Ssh.hostKey SshRsa
+ & Ssh.hostKey SshEcdsa
& Obnam.backup "/srv/git" "33 3 * * *"
[ "--repository=sftp://2318@usw-s002.rsync.net/~/git.kitenet.net"
, "--encrypt-with=1B169BE1"
@@ -83,15 +84,20 @@ hosts =
`requires` Ssh.knownHost hosts "usw-s002.rsync.net" "root"
`requires` Ssh.authorizedKeys "family"
`requires` User.accountFor "family"
- & Apt.installed ["git", "git-annex", "rsync"]
+ & Apt.installed ["git", "git-annex", "rsync", "kgb-client"]
& Git.daemonRunning "/srv/git"
- -- copy wren's ssh host key
- -- TODO: upgrade to newer git-annex-shell for notification
- -- kgb installation and setup
-- ssh keys for branchable and github repo hooks
+ -- TODO: upgrade to newer git-annex-shell for notification
-- gitweb
- -- downloads.kitenet.net setup (including ssh key to turtle)
+
+ & cname "kgb.kitenet.net"
+ & Apt.serviceInstalledRunning "kbg-bot"
+ & File.hasPrivContent "/etc/kgb-bot/kgb.conf"
+ & File.hasPrivContent "/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)
-- I don't run this system, so only relevant property is its
-- public key.