commit 7a58286b4607af6b8591025abbdbac00e2b03728
parent 17b151bb9efa1e745d1858c0dfcb7cef04ed8c3a
Author: rsiddharth <s@ricketyspace.net>
Date: Mon, 18 Dec 2017 05:11:41 +0000
propellor spin
Diffstat:
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/config.hs b/config.hs
@@ -55,7 +55,7 @@ main = defaultMain hosts
-- The hosts propellor knows about.
hosts :: [Host]
-hosts = [ cygnus, crux ]
+hosts = [ cygnus, crux, ara ]
-- configure cygnus.
cygnus :: Host
@@ -572,3 +572,15 @@ crux = host "crux.ricketyspace.net" $props
-- root config.
& Cron.job "etc-push" (Cron.Times "15 00 * * *") (User "root")
"/etc" "git push"
+
+-- configure ara
+ara :: Host
+ara = host "ara.ricketyspace.net" $props
+ & osDebian (Stable "stretch") X86_64
+ & ipv4 "45.76.251.155"
+ -- apt
+ & Apt.stdSourcesList
+ & Apt.unattendedUpgrades
+ & Apt.safeUpgrade
+ -- root config
+ & Ssh.authorizedKey (User "root") sCanonicalSshPubKey