summaryrefslogtreecommitdiff
path: root/joeyconfig.hs
diff options
context:
space:
mode:
authorJoey Hess2016-08-31 17:20:21 -0400
committerJoey Hess2016-08-31 17:20:21 -0400
commit99e3208d8829cd42a7d949c97790f104d7165b53 (patch)
tree46d4d44666e53e2cba5e9a735a0180d70f818577 /joeyconfig.hs
parent3d2b5bb851fc9898ced38137dfcac3eadf39efae (diff)
propellor spin
Diffstat (limited to 'joeyconfig.hs')
-rw-r--r--joeyconfig.hs15
1 files changed, 8 insertions, 7 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs
index d4634b02..802878a5 100644
--- a/joeyconfig.hs
+++ b/joeyconfig.hs
@@ -56,7 +56,7 @@ hosts = -- (o) `
, elephant
, beaver
, pell
- , k1
+ , keysafe
, iabak
] ++ monsters
@@ -455,20 +455,21 @@ pell = host "pell.branchable.com" $ props
& Apt.unattendedUpgrades
& Branchable.server hosts
-k1 :: Host
-k1 = host "k1.kitenet.net" $ props
+keysafe :: Host
+keysafe = host "keysafe.joeyh.name" $ props
& ipv4 "139.59.17.168"
& Hostname.sane
& osDebian (Stable "jessie") X86_64
+ & Apt.stdSourcesList `onChange` Apt.upgrade
& DigitalOcean.distroKernel
+ -- This is a 500 mb VM, so need more ram to build propellor.
+ & Apt.serviceInstalledRunning "swapspace"
& Cron.runPropellor (Cron.Times "30 * * * *")
- & Apt.stdSourcesList `onChange` Apt.upgrade
- & Apt.installed ["openssh-server"]
+ & Apt.installed ["openssh-server", "etckeeper", "sudo"]
& Ssh.noPasswords
- & Apt.installed ["etckeeper", "sudo"]
& User.hasSomePassword (User "root")
+ & User.accountFor (User "joey")
& User.hasSomePassword (User "joey")
- & Apt.serviceInstalledRunning "swapspace"
iabak :: Host
iabak = host "iabak.archiveteam.org" $ props