You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the plugin via the cmd.run_all method.
I want to call SLS files via the state.sls method, but the output is not supported by SaltJsonReturnHandler.java. For the moment I have defined state.sls as *alwaysSuccessful, but I want to catch errors.
I would like to improve the plugin. Is it the best ways to write a new class SaltStateJsonReturnHandler.java (as SaltJsonReturnHandler.java) that parse state.sls json output ?
I did not succeed to have the same output with stale.sls than with cmd.run_all.
Rémy
The text was updated successfully, but these errors were encountered:
The response from salt modules to the rundeck salt api comes as a boolean, either True or False or nested dict, like stdout, stderr, pid, response code. Either we can change the response output which salt api sends back to rundeck or write new code to handle the response on rundeck level.
Hi,
I use the plugin via the cmd.run_all method.
I want to call SLS files via the state.sls method, but the output is not supported by SaltJsonReturnHandler.java. For the moment I have defined state.sls as *alwaysSuccessful, but I want to catch errors.
I would like to improve the plugin. Is it the best ways to write a new class SaltStateJsonReturnHandler.java (as SaltJsonReturnHandler.java) that parse state.sls json output ?
I did not succeed to have the same output with stale.sls than with cmd.run_all.
Rémy
The text was updated successfully, but these errors were encountered: