From 868e2c473ac43f8e6432b1672f57bbdcb1872174 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 7 Apr 2016 01:03:53 -0400 Subject: Added Propellor.Property.Fstab, and moved the fstabbed property to there. --- .../comment_4_09850c15b6ac6849be035956dbb46f44._comment | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/forum/newbie_trying_to_set_up_NFS_mount/comment_4_09850c15b6ac6849be035956dbb46f44._comment (limited to 'doc/forum/newbie_trying_to_set_up_NFS_mount') diff --git a/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_4_09850c15b6ac6849be035956dbb46f44._comment b/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_4_09850c15b6ac6849be035956dbb46f44._comment new file mode 100644 index 00000000..74c959e8 --- /dev/null +++ b/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_4_09850c15b6ac6849be035956dbb46f44._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2016-04-07T04:21:39Z" + content=""" +That's quite a nice elegant solution, Frederik! + +It'll work if you use + + `onChange` (cmdProperty "mount" ["-a"] `assume` MadeChange) + +This is ncessary because propellor doesn't know if `cmdProperty` +makes a change or not. In this case we can just assume it did. + +I've added a `Propellor.Property.Fstab.mounted` this evening +that is essentially Frederik's solution. +"""]] -- cgit v1.2.3