summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Chroot.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-20 17:18:26 -0400
committerJoey Hess2014-11-20 17:18:26 -0400
commitf9cc7c149ead60d1178fa3b480282f6089cf79bd (patch)
tree1f9d62d03e0c4a307383bb2420a9ae98ba431947 /src/Propellor/Property/Chroot.hs
parent3669bd61d0e15682ce25b9a82788b8d69f87d123 (diff)
incomplete systemd container support
Diffstat (limited to 'src/Propellor/Property/Chroot.hs')
-rw-r--r--src/Propellor/Property/Chroot.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Chroot.hs b/src/Propellor/Property/Chroot.hs
index ba7bf96c..798330b0 100644
--- a/src/Propellor/Property/Chroot.hs
+++ b/src/Propellor/Property/Chroot.hs
@@ -1,5 +1,5 @@
module Propellor.Property.Chroot (
- Chroot,
+ Chroot(..),
chroot,
provisioned,
chain,
@@ -24,7 +24,7 @@ instance Hostlike Chroot where
-- | Defines a Chroot at the given location, containing the specified
-- System. Properties can be added to configure the Chroot.
--
--- > chroot "/srv/chroot/ghc-dev" (System (Debian Unstable) "amd64"
+-- > chroot "/srv/chroot/ghc-dev" (System (Debian Unstable) "amd64")
-- > & Apt.installed ["build-essential", "ghc", "haskell-platform"]
-- > & ...
chroot :: FilePath -> System -> Chroot
@@ -48,7 +48,7 @@ provisioned c@(Chroot loc system _) = RevertableProperty
(System (Debian _) _) -> debootstrap
(System (Ubuntu _) _) -> debootstrap
- debootstrap = unrevertable (Debootstrap.built loc system [])
+ debootstrap = toProp (Debootstrap.built loc system [])
teardown = undefined