From 25942fb0cca0ca90933026bf959506e099ff95a4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Apr 2014 17:22:32 -0400 Subject: Propellor monad is a Reader for HostAttr So far, the hostname is only used to improve a message in withPrivData, but I anticipate using HostAttr for a lot more. --- Propellor.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Propellor.hs') diff --git a/Propellor.hs b/Propellor.hs index e39fc97d..1f1d7eca 100644 --- a/Propellor.hs +++ b/Propellor.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE PackageImports #-} + -- | Pulls in lots of useful modules for building and using Properties. -- -- Propellor enures that the system it's run in satisfies a list of @@ -31,6 +33,7 @@ module Propellor ( , module Propellor.Property.Cmd , module Propellor.PrivData , module Propellor.Engine + , module Propellor.Exception , module Propellor.Message , localdir @@ -43,6 +46,7 @@ import Propellor.Engine import Propellor.Property.Cmd import Propellor.PrivData import Propellor.Message +import Propellor.Exception import Utility.PartialPrelude as X import Utility.Process as X @@ -62,6 +66,7 @@ import Control.Applicative as X import Control.Monad as X import Data.Monoid as X import Control.Monad.IfElse as X +import "mtl" Control.Monad.Reader as X -- | This is where propellor installs itself when deploying a host. localdir :: FilePath -- cgit v1.3-2-g0d8e