summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Prosody.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Prosody.hs')
-rw-r--r--src/Propellor/Property/Prosody.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Prosody.hs b/src/Propellor/Property/Prosody.hs
index 78a2c529..7dbfb1e1 100644
--- a/src/Propellor/Property/Prosody.hs
+++ b/src/Propellor/Property/Prosody.hs
@@ -22,8 +22,7 @@ confEnabled conf cf = enable <!> disable
`onChange` reloaded
where
test = not <$> doesFileExist (confValPath conf)
- prop = property "prosody conf in place" $ makeChange $
- createSymbolicLink target dir
+ prop = dir `File.isSymlinkedTo` target
target = confValRelativePath conf
dir = confValPath conf
confValRelativePath conf' = "../conf.avail" </> conf' <.> "cfg.lua"