propellor

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

commit fe033ed8093b480d514539586b39c26b9ca28923
parent d21ac3319ec6ed4be609fa8bfcc7cc3e476e975c
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 28 Sep 2019 03:05:14 -0400

propellor spin

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

diff --git a/config.hs b/config.hs @@ -62,10 +62,10 @@ main = defaultMain hosts -- The hosts propellor knows about. hosts :: [Host] -hosts = publicHosts ++ [ grus, ara ] +hosts = publicHosts ++ [ grus ] publicHosts :: [Host] -publicHosts = [ lyra, virgo ] ++ m31 +publicHosts = [ lyra, virgo, ara ] ++ m31 -- keys. sCanonicalSshPubKey :: [Char] @@ -88,14 +88,15 @@ grus = host "grus.ricketyspace.net" $props -- configure ara ara :: Host ara = host "ara.ricketyspace.net" $props - & osDebian Unstable X86_64 + & osDebian (Stable "stretch") X86_64 & Locale.available "en_US.UTF-8" + & ipv4 "8.12.16.54" & File.hasContent "/etc/motd" (["At ara."]) -- apt & Apt.stdSourcesList & Apt.unattendedUpgrades & Apt.safeUpgrade - & Apt.installed ["htop", "xauth", "tmux"] + & Apt.installed ["htop", "tmux", "git"] -- sshd & Ssh.passwordAuthentication False -- system @@ -115,6 +116,7 @@ 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") + & dockerCEInstalled -- configure virgo