summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-04-19 17:08:23 -0400
committerJoey Hess <joey@kitenet.net>2014-04-19 17:08:23 -0400
commitbdc09d07f20f6e30415a31ad88676f7dd30e75c5 (patch)
treef4c477684748db79f90ce21daaabfa0d2a9805f7 /config-simple.hs
parent8834a8ff3cdf69f51e285d83c5b09fc4086737f8 (diff)
parent628c06fdfba15f087baa844ca14a16a233c2b301 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs7
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