summaryrefslogtreecommitdiff
path: root/src/Propellor/Types.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-23 15:17:57 -0400
committerJoey Hess2014-11-23 15:17:57 -0400
commit0ea0f7f4dee7f0e0835a82814fa89af6ce1756a1 (patch)
tree6eb9bbd4dfb6efc287a7174bdf9e0bbf0319221a /src/Propellor/Types.hs
parent3c952a0de9d228eafe6e208007be7d2e018d68b8 (diff)
--spin can be passed multiple hosts, and it will provision each host in turn.
Note that if it fails to spin a host, it will stop. I think this is better than continuing to the next, because there might be a reason to spin hosts in some specific order (ie, update dns first and then use it).
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 949ce4b7..92b18cde 100644
--- a/src/Propellor/Types.hs
+++ b/src/Propellor/Types.hs
@@ -142,7 +142,7 @@ instance ActionResult Result where
data CmdLine
= Run HostName
- | Spin HostName (Maybe HostName)
+ | Spin [HostName] (Maybe HostName)
| SimpleRun HostName
| Set PrivDataField Context
| Dump PrivDataField Context