From f2e902313ae02804df55c3e9584ddf88c4f889f1 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 12 Oct 2017 22:08:56 +0200 Subject: Fstab.mounted now creates mount point and always tries to mount --- src/Propellor/Property/Fstab.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3