diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-02-24 17:12:43 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-02-24 17:12:43 -0400 |
| commit | c716d1a0d4b18737b133ba9cc23c97388f72f5c0 (patch) | |
| tree | 7be06dd25e433685d921c8ce344bd5f9d2cb03d2 /doc | |
| parent | a2323b58c2edba99f06d7810b95da05aecb20b5f (diff) | |
| parent | 90219e30615e09779469ceae272cf41943d43585 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment index 5c03304b..ed972c01 100644 --- a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment +++ b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment @@ -7,13 +7,13 @@ I have heard of propellor being used on OSX. Probably that user wrote their own code for OSX specific stuff. Propellor properites can be parameterized by OS. Currently it has support -for Debian and some untested support for Ubuntu. A property can be parameterized +for Debian and some untested support for *buntu. A property can be parameterized like this: foo :: Property foo = property "foo" withOS desc $ \o -> case o of (Just (System (Debian _) _)) -> ensureProperty fooDebian - (Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu + (Just (System (FooBuntu _) _)) -> ensureProperty fooBuntu The first step for adding a new OS will be to modify <http://hackage.haskell.org/package/propellor/docs/Propellor-Types-OS.html>. Compilation will then warn about all OS parameterized properties that |
