-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] file.symlink will not replace/update existing symlink #64477
Comments
Maybe related to changes made by 62768 ? |
It's due to #62768 and now we need to pass |
The change in the default behavior was unintentional, but it seems to mirror the default functionality of the
And then adding Expanding on the documentation quoted above, the rest of it seems to hint at the intention of requiring the
...but the force parameter documentation itself seems to mirror the first sentence of the function doc and draw a distinction between being a symlink and "not a symlink" in requiring the
Just included this for reference in case Future Me was wondering what the heck was going on. I'll look at a patch to restore the default functionality and try to target 3006.2 for a release. |
Description
file.symlink docs:
However this does not seem to work in version 3006.1
Setup
symlink_test.sls:
Steps to Reproduce the behavior
ln -nfs /bar /foo
salt-call state.apply symlink_test
Expected behavior
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: