summaryrefslogtreecommitdiff
path: root/src/Propellor/Types.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-18 01:04:41 -0400
committerJoey Hess2014-11-18 01:04:41 -0400
commit8ea43c630215d545fca5d6aaf378ddc2853a2ebc (patch)
tree571f12c4d71c1558189dc172678c3c5407dc2287 /src/Propellor/Types.hs
parentdeb763d8e875bb5009c17e047da20ef90907f53a (diff)
avoid renaming --boot to --sync
That broke updating existing systems, since --boot is what makes the remote propellor update itself. The hostname is no longer needed by --boot for new propellor's, but is still passed for old ones. Note that there will be a double run of propellor when upgrading via --spin, because it now runs --boot followed by --spin on the remote host, and the old --boot also satisfied all properties.
Diffstat (limited to 'src/Propellor/Types.hs')
-rw-r--r--src/Propellor/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Types.hs b/src/Propellor/Types.hs
index b3636eb4..cf16099a 100644
--- a/src/Propellor/Types.hs
+++ b/src/Propellor/Types.hs
@@ -144,6 +144,6 @@ data CmdLine
| AddKey String
| Continue CmdLine
| Chain HostName
- | Sync
+ | Boot HostName
| Docker HostName
deriving (Read, Show, Eq)