summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Chroot.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Chroot.hs')
-rw-r--r--src/Propellor/Property/Chroot.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Propellor/Property/Chroot.hs b/src/Propellor/Property/Chroot.hs
index e8afb656..0ef6e7dd 100644
--- a/src/Propellor/Property/Chroot.hs
+++ b/src/Propellor/Property/Chroot.hs
@@ -80,7 +80,11 @@ provisioned' propigator c@(Chroot loc system builderconf _) systemdonly = Revert
propigateChrootInfo :: Chroot -> Property -> Property
propigateChrootInfo c p = propigateContainer c p'
where
- p' = p { propertyInfo = propertyInfo p <> chrootInfo c }
+ p' = mkProperty
+ (propertyDesc p)
+ (propertySatisfy p)
+ (propertyInfo p <> chrootInfo c)
+ (propertyChildren p)
chrootInfo :: Chroot -> Info
chrootInfo (Chroot loc _ _ h) =