diff options
Diffstat (limited to 'src/Propellor/Info.hs')
| -rw-r--r-- | src/Propellor/Info.hs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Propellor/Info.hs b/src/Propellor/Info.hs index f6c46192..5ccda176 100644 --- a/src/Propellor/Info.hs +++ b/src/Propellor/Info.hs @@ -78,8 +78,15 @@ askInfo = asks (fromInfo . hostInfo) -- host must support Debian. -- -- > & osDebian (Stable "jessie") X86_64 +-- +-- osDebian' lets specify a different DebianKernel +-- +-- > & osDebian' KFreeBSD (Stable "jessie") X86_64 osDebian :: DebianSuite -> Architecture -> Property (HasInfo + Debian) -osDebian suite arch = tightenTargets $ os (System (Debian suite) arch) +osDebian = osDebian' Linux + +osDebian' :: DebianKernel -> DebianSuite -> Architecture -> Property (HasInfo + Debian) +osDebian' kernel suite arch = tightenTargets $ os (System (Debian kernel suite) arch) -- | Specifies that a host's operating system is a well-known Debian -- derivative founded by a space tourist. |
