diff options
| author | Joey Hess <joey@kitenet.net> | 2014-05-14 19:41:05 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-05-14 19:41:05 -0400 |
| commit | 7115d1ec162b4059b3e8e8f84bd8d5898c1db025 (patch) | |
| tree | 42c1cce54e890e1d56484794ab33129132d8fee2 /Propellor.hs | |
| parent | ffe371a9d42cded461236e972a24a142419d7fc4 (diff) | |
moved source code to src
This is to work around OSX's brain-damange regarding filename case
insensitivity.
Avoided moving config.hs, because it's a config file. Put in a symlink to
make build work.
Diffstat (limited to 'Propellor.hs')
| -rw-r--r-- | Propellor.hs | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/Propellor.hs b/Propellor.hs deleted file mode 100644 index e6312248..00000000 --- a/Propellor.hs +++ /dev/null @@ -1,77 +0,0 @@ -{-# LANGUAGE PackageImports #-} - --- | Pulls in lots of useful modules for building and using Properties. --- --- When propellor runs on a Host, it ensures that its list of Properties --- is satisfied, taking action as necessary when a Property is not --- currently satisfied. --- --- A simple propellor program example: --- --- > import Propellor --- > import Propellor.CmdLine --- > import qualified Propellor.Property.File as File --- > import qualified Propellor.Property.Apt as Apt --- > --- > main :: IO () --- > main = defaultMain hosts --- > --- > hosts :: [Host] --- > hosts = --- > [ host "example.com" --- > & Apt.installed ["mydaemon"] --- > & "/etc/mydaemon.conf" `File.containsLine` "secure=1" --- > `onChange` cmdProperty "service" ["mydaemon", "restart"] --- > ! Apt.installed ["unwantedpackage"] --- > ] --- --- See config.hs for a more complete example, and clone Propellor's --- git repository for a deployable system using Propellor: --- git clone <git://git.kitenet.net/propellor> - -module Propellor ( - module Propellor.Types - , module Propellor.Property - , module Propellor.Property.Cmd - , module Propellor.Attr - , module Propellor.PrivData - , module Propellor.Engine - , module Propellor.Exception - , module Propellor.Message - , localdir - - , module X -) where - -import Propellor.Types -import Propellor.Property -import Propellor.Engine -import Propellor.Property.Cmd -import Propellor.PrivData -import Propellor.Message -import Propellor.Exception -import Propellor.Attr - -import Utility.PartialPrelude as X -import Utility.Process as X -import Utility.Exception as X -import Utility.Env as X -import Utility.Directory as X -import Utility.Tmp as X -import Utility.Monad as X -import Utility.Misc as X - -import System.Directory as X -import System.IO as X -import System.FilePath as X -import Data.Maybe as X -import Data.Either as X -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 -localdir = "/usr/local/propellor" |
