summaryrefslogtreecommitdiff
path: root/src/Propellor/PrivData.hs
diff options
context:
space:
mode:
authorJoey Hess2015-09-20 14:41:45 -0400
committerJoey Hess2015-09-20 14:41:45 -0400
commit9aa06bcaa93cb2f2a9debe360cd64a9e930c6cdf (patch)
treef16305499cc38063ed894c275ae21f4c9eb35fec /src/Propellor/PrivData.hs
parent6c878189ffff941aeadaf5c4e94fc5ec07dba1e1 (diff)
fix example after recent changes
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