From e6ce744078aed2840ea51cc49ac6149ac6f4418d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jul 2014 17:15:27 -0400 Subject: move privdata Property to toplevel so its Info propigates Ugh, that's a nasty gotcha but I cannot see a way to fix it generally right now. --- src/Propellor/PrivData.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Propellor/PrivData.hs') diff --git a/src/Propellor/PrivData.hs b/src/Propellor/PrivData.hs index 27d49926..0194c969 100644 --- a/src/Propellor/PrivData.hs +++ b/src/Propellor/PrivData.hs @@ -42,6 +42,10 @@ import Utility.Table -- Note that if the value is not available, the action is not run -- and instead it prints a message to help the user make the necessary -- private data available. +-- +-- The resulting Property includes Info about the PrivDataField +-- being used, which is necessary to ensure that the privdata is sent to +-- the remote host by propellor. withPrivData :: PrivDataField -> Context -- cgit v1.3-2-g0d8e