propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit 47a1f0b466ea59211202f2340401ea632d3ef7a5
parent 52c9f300e1ab921ca0abcd4fd5741913d8824a1a
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 28 Jul 2019 20:57:29 -0400

config.hs: Add virgo.ricketyspace.net

Diffstat:
config.hs | 22+++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/config.hs b/config.hs @@ -65,7 +65,7 @@ hosts :: [Host] hosts = publicHosts publicHosts :: [Host] -publicHosts = [ ara, lyra ] ++ m31 +publicHosts = [ ara, lyra, virgo ] ++ m31 -- keys. sCanonicalSshPubKey :: [Char] @@ -173,6 +173,26 @@ araWebRobotsTxt = [ araWebIndex :: [File.Line] araWebIndex = [""] +-- configure virgo +virgo :: Host +virgo = host "virgo.ricketyspace.net" $props + & osDebian (Stable "stretch") X86_64 + & ipv4 "45.76.165.246" + & ipv6 "2001:19f0:5:32e6:5400:02ff:fe33:4a18" + & Locale.available "en_US.UTF-8" + & File.hasContent "/etc/motd" (["At virgo."]) + -- apt + & Apt.stdSourcesList + & Apt.unattendedUpgrades + & Apt.safeUpgrade + -- sshd + & Ssh.passwordAuthentication False + -- system + & Fail2Ban.installed + -- root config + & File.hasContent "/root/.tmux.conf" tmuxConf + & Ssh.authorizedKey (User "root") sCanonicalSshPubKey + -- configure lyra lyra :: Host