propellor spin

This commit is contained in:
Joey Hess 2014-03-31 10:43:51 -04:00
parent 9b65d96504
commit ad9940bd14
1 changed files with 5 additions and 3 deletions

View File

@ -30,6 +30,7 @@ getProperties :: HostName -> Maybe [Property]
getProperties hostname@"clam.kitenet.net" = Just getProperties hostname@"clam.kitenet.net" = Just
[ cleanCloudAtCost hostname [ cleanCloudAtCost hostname
, standardSystem Apt.Unstable , standardSystem Apt.Unstable
, Apt.unattendedUpgrades True
, Network.ipv6to4 , Network.ipv6to4
-- Clam is a tor bridge, and an olduse.net shellbox and other -- Clam is a tor bridge, and an olduse.net shellbox and other
-- fun stuff. -- fun stuff.
@ -37,12 +38,13 @@ getProperties hostname@"clam.kitenet.net" = Just
, JoeySites.oldUseNetshellBox , JoeySites.oldUseNetshellBox
, Docker.configured , Docker.configured
, Apt.installed ["git-annex", "mtr"] , Apt.installed ["git-annex", "mtr"]
-- This is not an important system so I don't want to need to
-- manually upgrade it.
, Apt.unattendedUpgrades True
-- Should come last as it reboots. -- Should come last as it reboots.
, Apt.installed ["systemd-sysv"] `onChange` Reboot.now , Apt.installed ["systemd-sysv"] `onChange` Reboot.now
] ]
getProperties "orca" = Just
[ Docker.configured
, Apt.unattendedUpgrades True
]
-- add more hosts here... -- add more hosts here...
--getProperties "foo" = --getProperties "foo" =
getProperties _ = Nothing getProperties _ = Nothing