From 628c06fdfba15f087baa844ca14a16a233c2b301 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2014 17:08:20 -0400 Subject: newbie docs --- config-simple.hs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config-simple.hs') diff --git a/config-simple.hs b/config-simple.hs index 23a760c8..536d9cd5 100644 --- a/config-simple.hs +++ b/config-simple.hs @@ -16,13 +16,15 @@ import qualified Propellor.Property.User as User --import qualified Propellor.Property.Tor as Tor import qualified Propellor.Property.Docker as Docker +main :: IO () +main = defaultMain hosts + -- The hosts propellor knows about. -- Edit this to configure propellor! hosts :: [Host] hosts = [ host "mybox.example.com" & Apt.stdSourcesList Unstable - `onChange` Apt.upgrade & Apt.unattendedUpgrades & Apt.installed ["etckeeper"] & Apt.installed ["ssh"] @@ -42,6 +44,3 @@ hosts = -- add more hosts here... --, host "foo.example.com" = ... ] - -main :: IO () -main = defaultMain hosts -- cgit v1.3-2-g0d8e