-
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
[Feature] Create hard link salt state to go with the file.link module. #39475
Comments
This is working as expected because link is not a state. https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html The state and execution modules, while they may share the same name, are different modules, and might not all exist for both. If you would like to make this into a feature request, please update the title, but this is not a bug. Otherwise, can this be closed? Thanks, |
@gtmanfred thanks for the quick reply! Yes, please, I think this would be useful to have as a state module. Is there any guideline on what the title should be for a feature request? |
Done :D |
@gtmanfred thank you sir :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Btw, created PR #55000 to add this capability. |
Description of Issue/Question
Hello,
I'm very new to Salt so hopefully I'm not doing something dumb.
The issue I'm having is that I can create a symlink by using
file.symlink
but I cannot create a hard link by usingfile.link
.Setup
The symlink works:
The hard link does not:
Interestingly enough, this does work:
Steps to Reproduce Issue
The error I get is:
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)Master:
Minion:
The text was updated successfully, but these errors were encountered: