From 99e3208d8829cd42a7d949c97790f104d7165b53 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 31 Aug 2016 17:20:21 -0400 Subject: propellor spin --- joeyconfig.hs | 15 ++++++++------- 1 file 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 -- cgit v1.3-2-g0d8e