diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-21 14:31:13 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-21 14:31:13 -0400 |
| commit | 36e89cd148cd266254f4c50c5396d05433ed9bb3 (patch) | |
| tree | 1deef27538cb26860a96f794ca7d810c9c7f430f /src/Propellor/Property/Chroot.hs | |
| parent | cf3a8883ecec79ad8b44be956ae98db3bfa3f42f (diff) | |
os info propigation
Also, lost the systemd-nspawn parameters; I'll do that some other way.
Diffstat (limited to 'src/Propellor/Property/Chroot.hs')
| -rw-r--r-- | src/Propellor/Property/Chroot.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/Chroot.hs b/src/Propellor/Property/Chroot.hs index 7fee3a59..2aad26f3 100644 --- a/src/Propellor/Property/Chroot.hs +++ b/src/Propellor/Property/Chroot.hs @@ -19,6 +19,7 @@ import Data.List.Utils import System.Posix.Directory data Chroot = Chroot FilePath System Host + deriving (Show) instance Hostlike Chroot where (Chroot l s h) & p = Chroot l s (h & p) @@ -33,6 +34,7 @@ instance Hostlike Chroot where -- > & ... chroot :: FilePath -> System -> Chroot chroot location system = Chroot location system (Host location [] mempty) + & os system -- | Ensures that the chroot exists and is provisioned according to its -- properties. |
