summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-12-04 16:27:54 -0400
committerJoey Hess2014-12-04 16:27:54 -0400
commit228154cf1f1c9c28f933a7e073f421ba0b876275 (patch)
treea846b6e54cc95700e19ffe50baa452519fbf2ce5
parent05ad6ad130139333e6029f4ea7cc05e3c7ed1bf0 (diff)
propellor spin
-rw-r--r--src/Propellor/Property/OS.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/OS.hs b/src/Propellor/Property/OS.hs
index 02d5f47d..e09b3d8b 100644
--- a/src/Propellor/Property/OS.hs
+++ b/src/Propellor/Property/OS.hs
@@ -73,21 +73,21 @@ cleanInstallOnce confirmation = check (not <$> doesFileExist flagfile) $
Debootstrap.built "/new-os" targetos Debootstrap.DefaultConfig
transitioned = property "/new-os moved into place" $
- return NoChange
+ return FailedChange
-- unmount all mounts
-- move all directories to /old-os,
-- move /new-os to /
-- touch flagfile
propellorbootstrapped = property "propellor re-debootstrapped in new os" $
- return NoChange
+ return FailedChange
-- re-bootstrap propellor in /usr/local/propellor,
-- (using git repo bundle, privdata file, and possibly
-- git repo url, which all need to be arranged to
-- be present in /old-os's /usr/local/propellor)
finalized = property "clean install finalized" $ do
- --liftIO $ writeFile flagfile ""
+ liftIO $ writeFile flagfile ""
return MadeChange
flagfile = "/etc/propellor-cleaninstall"