summaryrefslogtreecommitdiff
path: root/src/Propellor/PrivData.hs
diff options
context:
space:
mode:
authorJoey Hess2015-09-20 15:10:35 -0400
committerJoey Hess2015-09-20 15:10:35 -0400
commitc3e489e7c3adba47211eda05bc52487caece6f32 (patch)
tree67a1a4ca4a6def22be712e37cc27475252069093 /src/Propellor/PrivData.hs
parent2c84f8b38d48b36199f61ee3562a35f95a54e259 (diff)
parent9f4b3e0ed4de04ba5fb754ea45402465faf30783 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/PrivData.hs')
-rw-r--r--src/Propellor/PrivData.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/PrivData.hs b/src/Propellor/PrivData.hs
index a28fb195..5df9fe0d 100644
--- a/src/Propellor/PrivData.hs
+++ b/src/Propellor/PrivData.hs
@@ -58,7 +58,7 @@ import Utility.FileSystemEncoding
--
-- > withPrivData (PrivFile pemfile) (Context "joeyh.name") $ \getdata ->
-- > property "joeyh.name ssl cert" $ getdata $ \privdata ->
--- > liftIO $ writeFile pemfile privdata
+-- > liftIO $ writeFile pemfile (privDataVal privdata)
-- > where pemfile = "/etc/ssl/certs/web.pem"
--
-- Note that if the value is not available, the action is not run