summaryrefslogtreecommitdiff
path: root/src/Propellor/PrivData.hs
diff options
context:
space:
mode:
authorJoey Hess2014-07-06 17:15:27 -0400
committerJoey Hess2014-07-06 17:16:04 -0400
commite6ce744078aed2840ea51cc49ac6149ac6f4418d (patch)
treeaabc1895a5116161ef467cbcc6bbd930cdf197b0 /src/Propellor/PrivData.hs
parent95c99b490d1fa942de6e29e560368d5b614eb309 (diff)
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.
Diffstat (limited to 'src/Propellor/PrivData.hs')
-rw-r--r--src/Propellor/PrivData.hs4
1 files changed, 4 insertions, 0 deletions
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