From f9cc7c149ead60d1178fa3b480282f6089cf79bd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 20 Nov 2014 17:18:26 -0400 Subject: incomplete systemd container support --- src/Propellor/Property/Chroot.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Propellor/Property/Chroot.hs') 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 -- cgit v1.3-2-g0d8e