Safe Haskell | None |
---|---|
Language | Haskell98 |
- runPropellor :: Host -> Propellor a -> IO a
- mainProperties :: Host -> IO ()
- ensureProperties :: [Property] -> Propellor Result
- ensureProperty :: Property -> Propellor Result
- fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
- onlyProcess :: FilePath -> IO a -> IO a
- processChainOutput :: Handle -> IO Result
Documentation
runPropellor :: Host -> Propellor a -> IO a Source
mainProperties :: Host -> IO () Source
ensureProperties :: [Property] -> Propellor Result Source
fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a) Source
Lifts an action into a different host.
For example, `fromHost hosts "otherhost" getSshPubKey`
onlyProcess :: FilePath -> IO a -> IO a Source
processChainOutput :: Handle -> IO Result Source
Reads and displays each line from the Handle, except for the last line which is a Result.