summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2015-04-02 10:20:44 -0400
committerJoey Hess2015-04-02 10:20:44 -0400
commit86783dc52d048418439019067a0a1afccd4829d1 (patch)
tree392e55d1b1abecf0dab5e4b0ecec3a9359d0f6e0 /src/Propellor/Types/CmdLine.hs
parent015b249c6672527dce31a61610358ccbb46f3b46 (diff)
Make propellor resistent to changes to shared libraries, such as libffi
* Make propellor resistent to changes to shared libraries, such as libffi, which might render the propellor binary unable to run. This is dealt with by checking the binary both when running propellor on a remote host, and by Cron.runPropellor. If the binary doesn't work, it will be rebuilt. * Note that since a new switch had to be added to allow testing the binary, upgrading to this version will cause a rebuild from scratch of propellor.
Diffstat (limited to 'src/Propellor/Types/CmdLine.hs')
-rw-r--r--src/Propellor/Types/CmdLine.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Types/CmdLine.hs b/src/Propellor/Types/CmdLine.hs
index b8f488a4..bd0cbdfd 100644
--- a/src/Propellor/Types/CmdLine.hs
+++ b/src/Propellor/Types/CmdLine.hs
@@ -23,5 +23,6 @@ data CmdLine
| DockerChain HostName String
| ChrootChain HostName FilePath Bool Bool
| GitPush Fd Fd
+ | Check
deriving (Read, Show, Eq)