diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-19 17:08:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-19 17:08:20 -0400 |
commit | 628c06fdfba15f087baa844ca14a16a233c2b301 (patch) | |
tree | 66ea230da75d3f3d844ec9ebcfa651ee71131c3d /config-simple.hs | |
parent | 7cb414b3146fff486fd1d1a2c08199218338a0a9 (diff) |
newbie docs
Diffstat (limited to 'config-simple.hs')
-rw-r--r-- | config-simple.hs | 7 |
1 files changed, 3 insertions, 4 deletions
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 |