(#4914) Update property blocks
The action for a specific ensure state depends on the actual state so we
cannot use the default behaviour. The following transitions are now
supported (with ghost = mounted but not present in fstab):
- 4 Is-states : absent, mounted, unmounted, ghost
- 4 Should-states: absent, mounted, present, unmounted
- from ghost to present -> create
- from absent to present -> create
- from ghost to unmounted -> create, umount
- from mounted to unmounted -> umount
- from absent to unmounted -> create
- from ghost to absent -> umount (may fail on certain OS)
- from mounted to absent -> umount, destroy
- from unmounted to absent -> destroy
- from ghost to mounted -> create
- from absent to mounted -> create, mount
- from unmounted to mounted -> mount
Every other combination is treatet insync