diff options
| author | Nicolas Schodet <nico@ni.fr.eu.org> | 2017-10-12 22:08:56 +0200 |
|---|---|---|
| committer | Nicolas Schodet <nico@ni.fr.eu.org> | 2017-10-12 22:38:37 +0200 |
| commit | f2e902313ae02804df55c3e9584ddf88c4f889f1 (patch) | |
| tree | 4bbc1fe7a618fe03a6b1297405ea58e8893bf832 | |
| parent | 2d9e17dbcb7494cfcdffee53ccd85fb958d652b5 (diff) | |
Fstab.mounted now creates mount point and always tries to mount
| -rw-r--r-- | src/Propellor/Property/Fstab.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/Fstab.hs b/src/Propellor/Property/Fstab.hs index 29b85426..53ed4fba 100644 --- a/src/Propellor/Property/Fstab.hs +++ b/src/Propellor/Property/Fstab.hs @@ -26,7 +26,8 @@ import Utility.Table mounted :: FsType -> Source -> MountPoint -> MountOpts -> Property Linux mounted fs src mnt opts = tightenTargets $ listed fs src mnt opts - `onChange` mountnow + `before` mountnow + `requires` File.dirExists mnt where -- This use of mountPoints, which is linux-only, is why this -- property currently only supports linux. |
