summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-17 13:57:51 -0400
committerJoey Hess2015-10-17 13:58:31 -0400
commit4e038a43cc9978af1015c53ab7cf27355d989069 (patch)
tree36621411192ca62bbb552de5277e1ca3c4c35670 /src/Propellor/Types/CmdLine.hs
parenta487fd07dc72ba506b3d185c4d9317e5a443faa3 (diff)
use Info to detect controller loops
Much less invasive than the other implementation.
Diffstat (limited to 'src/Propellor/Types/CmdLine.hs')
-rw-r--r--src/Propellor/Types/CmdLine.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Propellor/Types/CmdLine.hs b/src/Propellor/Types/CmdLine.hs
index ca73c902..558c6e8b 100644
--- a/src/Propellor/Types/CmdLine.hs
+++ b/src/Propellor/Types/CmdLine.hs
@@ -1,20 +1,15 @@
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
-
module Propellor.Types.CmdLine where
import Propellor.Types.OS
import Propellor.Types.PrivData
import System.Posix.Types
-import Data.Typeable
-import Data.Monoid
-- | All the command line actions that propellor can perform.
data CmdLine
= Run HostName
| Spin [HostName] (Maybe HostName)
| SimpleRun HostName
- | ControlledRun HostName ControllerChain
| Set PrivDataField Context
| Unset PrivDataField Context
| UnsetUnused
@@ -34,7 +29,3 @@ data CmdLine
| GitPush Fd Fd
| Check
deriving (Read, Show, Eq)
-
--- | List of hosts that acted as controllers to cause a host to be spinned.
-newtype ControllerChain = ControllerChain [HostName]
- deriving (Read, Show, Eq, Typeable, Monoid)