summaryrefslogtreecommitdiff
path: root/config.hs
diff options
context:
space:
mode:
authorJoey Hess2014-03-31 10:43:51 -0400
committerJoey Hess2014-03-31 10:43:51 -0400
commitad9940bd14752b65b419ec15bd70ccb65bff58e6 (patch)
treeaad23b3ae018864e8b21da165aef4c59967f206c /config.hs
parent9b65d9650404d8b7202fc63ba23554d734589f20 (diff)
propellor spin
Diffstat (limited to 'config.hs')
-rw-r--r--config.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.hs b/config.hs
index b3b525b0..a0851d61 100644
--- a/config.hs
+++ b/config.hs
@@ -30,6 +30,7 @@ getProperties :: HostName -> Maybe [Property]
getProperties hostname@"clam.kitenet.net" = Just
[ cleanCloudAtCost hostname
, standardSystem Apt.Unstable
+ , Apt.unattendedUpgrades True
, Network.ipv6to4
-- Clam is a tor bridge, and an olduse.net shellbox and other
-- fun stuff.
@@ -37,12 +38,13 @@ getProperties hostname@"clam.kitenet.net" = Just
, JoeySites.oldUseNetshellBox
, Docker.configured
, 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.
, Apt.installed ["systemd-sysv"] `onChange` Reboot.now
]
+getProperties "orca" = Just
+ [ Docker.configured
+ , Apt.unattendedUpgrades True
+ ]
-- add more hosts here...
--getProperties "foo" =
getProperties _ = Nothing