propellor

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

commit e79db265f4887381b99cf2399c8aebca4172b10d
parent 89b54d7c0962f2b3f617db3e601cf94c15b331c1
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun,  3 Dec 2017 06:08:23 +0000

propellor spin

Diffstat:
config.hs | 17++++++++++++++++-
1 file changed, 16 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 ] +hosts = [ cygnus, crux ] -- configure cygnus. cygnus :: Host @@ -500,3 +500,18 @@ cygnusNetworkManager = [ , "wifi.scan-rand-mac-address=no" ] -- end cygnus snafu. + +-- configure crux +crux :: Host +crux = host "crux.ricketyspace.net" $props + & osDebian (Stable "stretch") X86_64 + -- apt + & Apt.stdSourcesList + & Apt.unattendedUpgrades + & Apt.safeUpgrade + -- s config. + & User.accountFor (User "s") + & User.hasLoginShell (User "s") "/usr/bin/zsh" + & User.hasSomePassword (User "s") + -- propellor. + & Cron.runPropellor (Cron.Times "30 * * * *")