summaryrefslogtreecommitdiff
path: root/Propellor/PrivData.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-09 00:54:27 -0400
committerJoey Hess2014-04-09 00:54:27 -0400
commit064cdd8fc575e5a16fa20bf382387560e9e4c580 (patch)
treeaee8e55a2d5655941125041aba8558bd51ea3e35 /Propellor/PrivData.hs
parent969f01eb73cee1e49faf0195de5c784182349261 (diff)
propellor spin
Diffstat (limited to 'Propellor/PrivData.hs')
-rw-r--r--Propellor/PrivData.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Propellor/PrivData.hs b/Propellor/PrivData.hs
index e768ae9e..2897d425 100644
--- a/Propellor/PrivData.hs
+++ b/Propellor/PrivData.hs
@@ -23,6 +23,7 @@ withPrivData field a = maybe missing a =<< getPrivData field
where
missing = do
warningMessage $ "Missing privdata " ++ show field
+ putStrLn $ "Fix this by running: propellor --set $hostname '" ++ show field ++ "'"
return FailedChange
getPrivData :: PrivDataField -> IO (Maybe String)