diff --git a/changelog/67065.fixed.md b/changelog/67065.fixed.md new file mode 100644 index 000000000000..7b210dc297dc --- /dev/null +++ b/changelog/67065.fixed.md @@ -0,0 +1 @@ +Repaired mount.fstab_present always returning pending changes diff --git a/salt/states/mount.py b/salt/states/mount.py index 560ccc39ae6d..6b56290ec0f1 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -1266,6 +1266,7 @@ def fstab_present( if out == "present": msg = "{} entry is already in {}." ret["comment"].append(msg.format(fs_file, config)) + ret["result"] = True elif out == "new": msg = "{} entry will be written in {}." ret["comment"].append(msg.format(fs_file, config))