propellor spin
This commit is contained in:
parent
8e3d7dc49a
commit
1872ee1ffc
|
@ -462,7 +462,9 @@ provisionContainer cid = containerDesc cid $ property "provisioned" $ liftIO $ d
|
||||||
|
|
||||||
chain :: String -> Host -> IO ()
|
chain :: String -> Host -> IO ()
|
||||||
chain s h = case toContainerId s of
|
chain s h = case toContainerId s of
|
||||||
Just cid -> onlyProcess (provisioningLock cid) $ do
|
Just cid -> do
|
||||||
|
changeWorkingDirectory localdir
|
||||||
|
onlyProcess (provisioningLock cid) $ do
|
||||||
r <- runPropellor h $ ensureProperties $ hostProperties h
|
r <- runPropellor h $ ensureProperties $ hostProperties h
|
||||||
putStrLn $ "\n" ++ show r
|
putStrLn $ "\n" ++ show r
|
||||||
Nothing -> error "bad container id"
|
Nothing -> error "bad container id"
|
||||||
|
|
Loading…
Reference in New Issue