From 61d8214d9d8cea6ba047d1a26f9edc1ea180234b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 19:10:32 -0400 Subject: propellor spin --- Propellor.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Propellor.hs') diff --git a/Propellor.hs b/Propellor.hs index 421df2c4..01671786 100644 --- a/Propellor.hs +++ b/Propellor.hs @@ -1,5 +1,5 @@ import Common -import HostName +import CmdLine import qualified Property.File as File import qualified Property.Apt as Apt import qualified Property.Ssh as Ssh @@ -10,7 +10,7 @@ import qualified Property.Tor as Tor import qualified Property.GitHome as GitHome main :: IO () -main = ensureProperties . getProperties =<< getHostName +main = defaultMain getProperties {- This is where the system's HostName, either as returned by uname - or one specified on the command line, is converted into a list of @@ -21,6 +21,7 @@ getProperties hostname@"clam.kitenet.net" = , standardSystem Apt.Unstable -- Clam is a tor bridge. , Tor.isBridge + , Apt.installed ["docker.io"] -- This is not an important system so I don't want to need to -- manually upgrade it. , Apt.unattendedUpgrades True -- cgit v1.2.3