From f226f29be37d2866f06fe3d33f8d9199b5a6f20f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2014 17:11:52 -0400 Subject: layout --- doc/haskell_newbie.mdwn | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/haskell_newbie.mdwn') 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 -- cgit v1.2.3