-
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
No way to debug templates over salt-ssh #50196
Comments
@max-arnold Thank you for reporting this. |
Any clues on how to fix this? |
I faced this problem yesterday. It highly impacts local development process. |
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. |
Still valid |
Thank you for updating this issue. It is no longer marked as stale. |
I can work on a fix if the @dwoz or someone at Salt can offer some guidance. |
@amendlik looking to find someone who can give that guidance, thank you! |
@amendlik so I looked into the code a bit as well, if you're still interested in takling this ( / but also writing this here as a note to myself a bit): i found out that
basically means: "i did not find a the shimmed version will actually work if that target file is on the host; so my test here with a starting point to implement that
and then I suppose gather inspiration from the other salt/client/ssh/wrappers |
Description of Issue/Question
The recommended ways to debug templates are (as seen in the Slack chat):
Unfortunately, I was unable to make it work over
salt-ssh
:Third way also doesn't work:
Salt version
2018.3.2
on Py3.The question is: what is the best (and documented) way to debug templates, which works consistently across
salt
,salt-call
andsalt-ssh
(and maybesalt-run
)?The text was updated successfully, but these errors were encountered: