diff options
Diffstat (limited to 'src/Propellor/Protocol.hs')
| -rw-r--r-- | src/Propellor/Protocol.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Protocol.hs b/src/Propellor/Protocol.hs index 669f41b6..4dc7e6bb 100644 --- a/src/Propellor/Protocol.hs +++ b/src/Propellor/Protocol.hs @@ -9,7 +9,7 @@ import Data.List import Propellor -data BootStrapStatus = Ready | NeedGitClone +data BootStrapStatus = Ready | NeedGitClone | RepoUrl deriving (Read, Show, Eq) type Marker = String @@ -21,6 +21,9 @@ statusMarker = "STATUS" privDataMarker :: String privDataMarker = "PRIVDATA " +repoUrlMarker :: String +repoUrlMarker = "REPOURL " + toMarked :: Marker -> String -> String toMarked marker = intercalate "\n" . map (marker ++) . lines |
