add back a warning aboit info propigation to ensureProperty

This commit is contained in:
Joey Hess 2015-01-19 16:14:01 -04:00
parent c8153ff0bd
commit 0a2a553d31
1 changed files with 3 additions and 0 deletions

View File

@ -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