summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-12-07 15:10:55 -0400
committerJoey Hess2014-12-07 15:10:55 -0400
commit5bb761bcf1dcdb2023777e8dbdba28010b15dbae (patch)
tree09c6c6427914b6991afcfb1f2c0516cc8a0bcde0
parent4051c8c6aefd7967a63b536b476b0dc75a6a5c51 (diff)
fix comment display
-rw-r--r--doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment
index 094fa678..7b82c961 100644
--- a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment
+++ b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment
@@ -10,16 +10,13 @@ Propellor properites can be parameterized by OS. Currently it has support
for Debian and some untested support for Ubuntu. A property can be parameterized
like this:
-[[!format haskell """
-foo :: Property
-foo = property "foo" withOS desc $ \o -> case o of
- (Just (System (Debian _) _)) -> ensureProperty fooDebian
- (Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu
+ foo :: Property
+ foo = property "foo" withOS desc $ \o -> case o of
+ (Just (System (Debian _) _)) -> ensureProperty fooDebian
+ (Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu
The first step for adding a new OS will be to modify <http://hackage.haskell.org/package/propellor-1.0.0/docs/Propellor-Types-OS.html>.
Compilation will then warn about all OS parameterized properties that
need to be updated to support your added OS, and it can be taken from there.
I'll accept reasonable patches to support other OS's.
-"""]]
-