summaryrefslogtreecommitdiff
path: root/doc/haskell_newbie.mdwn
diff options
context:
space:
mode:
authorJoey Hess2014-04-19 17:11:52 -0400
committerJoey Hess2014-04-19 17:11:52 -0400
commitf226f29be37d2866f06fe3d33f8d9199b5a6f20f (patch)
tree29ff567867f0aaa33e1b6252571bf1d5ca866aee /doc/haskell_newbie.mdwn
parentfc8550ece49543a16bd91c3f21a86b1cad558d4b (diff)
layout
Diffstat (limited to 'doc/haskell_newbie.mdwn')
-rw-r--r--doc/haskell_newbie.mdwn20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/haskell_newbie.mdwn b/doc/haskell_newbie.mdwn
index d9a3aeba..0e42f5b1 100644
--- a/doc/haskell_newbie.mdwn
+++ b/doc/haskell_newbie.mdwn
@@ -38,12 +38,12 @@ stub to go run itself. No need to ever change this part.
-- Edit this to configure propellor!
hosts :: [Host]
hosts =
- [ host "mybox.example.com"
- & Apt.stdSourcesList Unstable
- , host "server.example.com"
- & Apt.stdSourcesList Stable
- & Apt.installed ["ssh"]
- ]
+ [ host "mybox.example.com"
+ & Apt.stdSourcesList Unstable
+ , host "server.example.com"
+ & Apt.stdSourcesList Stable
+ & Apt.installed ["ssh"]
+ ]
"""]]
This defines a list of hosts, with two hosts in it.
@@ -59,9 +59,9 @@ the second host has 2 properties.
Some other properties you may find in your config.hs, or want to add:
[[!format haskell """
- & Apt.unattendedUpgrades
- & User.hasSomePassword "root"
- & Cron.runPropellor "30 * * * *"
+ & Apt.unattendedUpgrades
+ & User.hasSomePassword "root"
+ & Cron.runPropellor "30 * * * *"
"""]]
Some of these properties can be reverted -- this makes Propellor undo whatever
@@ -70,7 +70,7 @@ maybe you turned that on, but want to disable it now. To do so, just change
the "&" to a "!"
[[!format haskell """
- ! Apt.unattendedUpgrades
+ ! Apt.unattendedUpgrades
"""]]
Some properties cannot be reverted. Yet. It takes coding to implement