avoid haddock warnings
This commit is contained in:
parent
1ae21965aa
commit
a2a97cbeb2
|
@ -9,6 +9,7 @@ module Propellor.Property.Firewall (
|
||||||
Target(..),
|
Target(..),
|
||||||
Proto(..),
|
Proto(..),
|
||||||
Rules(..),
|
Rules(..),
|
||||||
|
Port,
|
||||||
ConnectionState(..)
|
ConnectionState(..)
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
module Propellor.Property.Ssh (
|
module Propellor.Property.Ssh (
|
||||||
|
PubKeyText,
|
||||||
setSshdConfig,
|
setSshdConfig,
|
||||||
permitRootLogin,
|
permitRootLogin,
|
||||||
passwordAuthentication,
|
passwordAuthentication,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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(..)
|
||||||
|
|
Loading…
Reference in New Issue