avoid haddock warnings

This commit is contained in:
Joey Hess 2015-01-19 14:26:18 -04:00
parent 1ae21965aa
commit a2a97cbeb2
6 changed files with 9 additions and 9 deletions

View File

@ -9,6 +9,7 @@ module Propellor.Property.Firewall (
Target(..), Target(..),
Proto(..), Proto(..),
Rules(..), Rules(..),
Port,
ConnectionState(..) ConnectionState(..)
) where ) where

View File

@ -4,10 +4,10 @@ import Propellor
import qualified Propellor.Property.File as File import qualified Propellor.Property.File as File
import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.Apt as Apt
-- | Eg, "hd0,0" or "xen/xvda1" -- | Eg, \"hd0,0\" or \"xen/xvda1\"
type GrubDevice = String type GrubDevice = String
-- | Eg, "/dev/sda" -- | Eg, \"\/dev/sda\"
type OSDevice = String type OSDevice = String
type TimeoutSecs = Int type TimeoutSecs = Int

View File

@ -77,8 +77,8 @@ getMainCf name = parse . lines <$> readProcess "postconf" [name]
(_, v) -> v (_, v) -> v
parse [] = Nothing parse [] = Nothing
-- | Checks if a main.cf field is set. A field that is set to "" -- | Checks if a main.cf field is set. A field that is set to
-- is considered not set. -- the empty string is considered not set.
mainCfIsSet :: String -> IO Bool mainCfIsSet :: String -> IO Bool
mainCfIsSet name = do mainCfIsSet name = do
v <- getMainCf name v <- getMainCf name

View File

@ -1,4 +1,5 @@
module Propellor.Property.Ssh ( module Propellor.Property.Ssh (
PubKeyText,
setSshdConfig, setSshdConfig,
permitRootLogin, permitRootLogin,
passwordAuthentication, passwordAuthentication,

View File

@ -1,5 +1,7 @@
module Propellor.Property.Systemd ( module Propellor.Property.Systemd (
module Propellor.Property.Systemd.Core, module Propellor.Property.Systemd.Core,
ServiceName,
MachineName,
started, started,
stopped, stopped,
enabled, enabled,

View File

@ -4,14 +4,10 @@
module Propellor.Types module Propellor.Types
( Host(..) ( Host(..)
, Info(..) , Info(..)
, getInfoRecursive
, Propellor(..) , Propellor(..)
, Property(..) , Property(..)
, RevertableProperty(..) , RevertableProperty(..)
, IsProp , IsProp(..)
, describe
, toProp
, requires
, Desc , Desc
, Result(..) , Result(..)
, ToResult(..) , ToResult(..)