propellor-4.5.0: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Engine

Synopsis

Documentation

mainProperties :: Host -> IO () Source #

Gets the Properties of a Host, and ensures them all, with nice display of what's being done.

runPropellor :: Host -> Propellor Result -> IO Result Source #

Runs a Propellor action with the specified host.

If the Result is not FailedChange, any EndActions that were accumulated while running the action are then also run.

ensureChildProperties :: [ChildProperty] -> Propellor Result Source #

Ensures the child properties, with a display of each as it runs.

fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a) Source #

Lifts an action into the context of a different host.

fromHost hosts "otherhost" Ssh.getHostPubKey

chainPropellor :: CreateProcess -> IO Result Source #

Chains to a propellor sub-Process, forwarding its output on to the display, except for the last line which is a Result.

runChainPropellor :: Host -> Propellor Result -> IO () Source #

Used by propellor sub-Processes that are run by chainPropellor.