propellor

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

commit bdc7a6db182309233b668c35f029324ae87e4db6
parent 49c8be122bc2cca5469c133e4a186450789f3386
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 27 May 2018 05:11:37 +0000

propellor spin

Diffstat:
config.hs | 16++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/config.hs b/config.hs @@ -585,17 +585,15 @@ ara :: Host ara = host "ara.ricketyspace.net" $props & osDebian Testing X86_64 & Locale.available "en_US.UTF-8" - & ipv4 "104.131.19.219" + & ipv4 "204.48.24.215" & File.hasContent "/etc/motd" (["At ara."]) -- apt & Apt.stdSourcesList & Apt.unattendedUpgrades & Apt.safeUpgrade - & Apt.installed ["nginx-full" - , "git", "etckeeper" - , "htop", "sudo", "zsh", "screen" - , "emacs", "rsync", "git-annex" - , "mosh" + & Apt.installed ["nginx-full", "htop" + , "git", "tmux" + , "python-virtualenv" ] -- sshd & Ssh.passwordAuthentication False @@ -608,11 +606,8 @@ ara = host "ara.ricketyspace.net" $props -- system & Fail2Ban.installed -- root config + & File.hasContent "/root/.tmux.conf" tmuxConf & Ssh.authorizedKey (User "root") sCanonicalSshPubKey - -- w config - & User.accountFor (User "w") - & User.hasLoginShell (User "w") "/usr/bin/zsh" - & Ssh.authorizedKey (User "w") sCanonicalSshPubKey -- s config & User.accountFor(User "s") & User.hasPassword (User "s") @@ -623,6 +618,7 @@ ara = host "ara.ricketyspace.net" $props [ (SshRsa, "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCficeso6tkNbDeQz5jFtDY5P0NE/ZGApPkFwRIwQNVpmYrnKi8MR/KxcXMNSTBcIx3jOqM8WBtgMaQXyubANZomJVrdF09iAOCsz9/11Sknogu0QOfhEdd4Mw9KxuGmfWUn9ZPh9Sj3IrYVi300nqhN7n1sAToH8BqGa8vWpkXhQ67JDphPB0Ptwygthcv65RiInHFxGXNPyfdUpoXbEtyB2cyofpFaNTWYsQ/1Xj9CpRpTJz11gF535QM3JCE+8q7HF+zd+HSGWD3kNxVuqkmgWfNztoBDxGqwRw8Rc3ETymvMBCQqXc45kHsgdimdmg3jPCvcuojqg5mRPFQF341 s@cygnus") ] + & File.hasContent "/home/s/.tmux.conf" tmuxConf araNginx :: [String]