summaryrefslogtreecommitdiff
path: root/src/Propellor/Info.hs
diff options
context:
space:
mode:
authorJoey Hess2016-05-29 14:32:31 -0400
committerJoey Hess2016-06-13 23:27:53 -0400
commitd734de5f1cde3717c7d30a6e3bc935844a50e534 (patch)
treede1ce47cab95042c55769b62fc11fc96bb186848 /src/Propellor/Info.hs
parent9c0a95160a5460e8cbe4454ce7a7c9df1217e5e5 (diff)
improve haddock
(cherry picked from commit ee1f24f5cc31c3d3524b43a74b16acae1c3a4ee4)
Diffstat (limited to 'src/Propellor/Info.hs')
-rw-r--r--src/Propellor/Info.hs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Propellor/Info.hs b/src/Propellor/Info.hs
index 5ccda176..e9218291 100644
--- a/src/Propellor/Info.hs
+++ b/src/Propellor/Info.hs
@@ -77,14 +77,13 @@ askInfo = asks (fromInfo . hostInfo)
-- It also lets the type checker know that all the properties of the
-- host must support Debian.
--
--- > & osDebian (Stable "jessie") X86_64
---
--- osDebian' lets specify a different DebianKernel
---
--- > & osDebian' KFreeBSD (Stable "jessie") X86_64
+-- > & osDebian (Stable "jessie") X86_64
osDebian :: DebianSuite -> Architecture -> Property (HasInfo + Debian)
osDebian = osDebian' Linux
+-- Use to specify a different `DebianKernel` than the default `Linux`
+--
+-- > & osDebian' KFreeBSD (Stable "jessie") X86_64
osDebian' :: DebianKernel -> DebianSuite -> Architecture -> Property (HasInfo + Debian)
osDebian' kernel suite arch = tightenTargets $ os (System (Debian kernel suite) arch)