propellor

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

commit eebae2b9d7eb181beb0ab9a0b78be671efc0a6c6
parent c08076b9e474a3563ff1a7b1e9ec4a42708a6bd4
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 19 Mar 2020 19:20:36 -0400

propellor spin

Diffstat:
config.hs | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/config.hs b/config.hs @@ -91,23 +91,19 @@ ara :: Host ara = host "ara.ricketyspace.net" $props & osDebian (Stable "buster") X86_64 & Locale.available "en_US.UTF-8" - & ipv4 "104.207.141.114" + & ipv4 "207.246.85.24" & File.hasContent "/etc/motd" (["At ara."]) -- apt & Apt.stdSourcesList & Apt.unattendedUpgrades & Apt.safeUpgrade - & Apt.installed ["htop", "tmux", "git", "openvpn"] - -- install docker - & dockerCEInstalled + & Apt.installed ["htop", "tmux", "git"] -- sshd & Ssh.passwordAuthentication False -- system -- & Fail2Ban.installed -- root config & File.hasContent "/root/.tmux.conf" tmuxConf - & File.containsLine "/root/.bashrc" - "export PATH=/opt/metasploit-framework/bin/:$PATH" & Ssh.authorizedKey (User "root") sCanonicalSshPubKey & Ssh.authorizedKey (User "root") sAraSshPubKey & Ssh.userKeyAt (Just "/root/.ssh/id_rsa") @@ -124,7 +120,6 @@ ara = host "ara.ricketyspace.net" $props (User "s") hostContext (SshRsa, sAraSshPubKey) & File.hasContent "/home/s/.tmux.conf" tmuxConf & File.ownerGroup "/home/s" (User "s") (Group "s") - & User.hasGroup (User "s") (Group "docker") -- configure virgo