From 0a2a553d31fbb3c449ba30a395676241d193d478 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 Jan 2015 16:14:01 -0400 Subject: add back a warning aboit info propigation to ensureProperty --- src/Propellor/Engine.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Propellor/Engine.hs') diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs index 90b8e3d8..0835660f 100644 --- a/src/Propellor/Engine.hs +++ b/src/Propellor/Engine.hs @@ -62,6 +62,9 @@ runEndAction host res (EndAction desc a) = actionMessageOn (hostName host) desc -- | For when code running in the Propellor monad needs to ensure a -- Property. +-- +-- Note that the Info of the Property is not propigated out, so it will +-- not be visible to propellor, unless you arrange for it to be propigated. ensureProperty :: Property -> Propellor Result ensureProperty = catchPropellor . propertySatisfy -- cgit v1.2.3