diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-12-06 00:21:32 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-12-06 00:21:32 -0400 |
| commit | 35b91efc665b5f20f6d82046dfce818be669c8a3 (patch) | |
| tree | ff267b57d91ad2723ba91805ea418b2a6dfb676e /src/Propellor/Property/Postfix.hs | |
| parent | 59dad5df8a5fdbf9062c16c7de9633114136db15 (diff) | |
setting the same sasl password updates the mtime of the file, but the contents remain the same
Don't much like using Data.Hash.MD5, but it's available in dependencies and
pulling in a real hash library would be overkill. And md5 is a perfectly ok
hash to use here.
Diffstat (limited to 'src/Propellor/Property/Postfix.hs')
| -rw-r--r-- | src/Propellor/Property/Postfix.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Postfix.hs b/src/Propellor/Property/Postfix.hs index 91a02927..bcb9fb30 100644 --- a/src/Propellor/Property/Postfix.hs +++ b/src/Propellor/Property/Postfix.hs @@ -170,7 +170,7 @@ saslAuthdInstalled = setupdaemon -- -- The password is taken from the privdata. saslPasswdSet :: Domain -> User -> Property HasInfo -saslPasswdSet domain (User user) = go `changesFile` "/etc/sasldb2" +saslPasswdSet domain (User user) = go `changesFileContent` "/etc/sasldb2" where go = withPrivData src ctx $ \getpw -> property desc $ getpw $ \pw -> liftIO $ |
