Skip to content
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

Update nr.nc to have dedicated list of arguments #11

Closed
gcasella opened this issue Jul 22, 2022 · 2 comments
Closed

Update nr.nc to have dedicated list of arguments #11

gcasella opened this issue Jul 22, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@gcasella
Copy link

Continuation of our discussion on Slack;

When using the following nr.nc rpc command

salt 'nrp02' nr.nc rpc rpc="salt://templates/my_rpc.xml" FO='[{"hostname": "192.168.2.2"}]'

This would provide an invalid response, the needed command to be run was providing the full string of my_rpc.xml in the cli.

salt 'nrp02' nr.nc rpc rpc="FILTER_NAME" FO='[{"hostname": "192.168.2.2"}]'

Adding the render='["rpc"]' argument at the end of the first command was successful
Adding screenshot from slack for reference;
image

@dmulyalin dmulyalin added the enhancement New feature or request label Jul 22, 2022
@dmulyalin
Copy link
Owner

Hi, updated nr.nc function with its own render arguments list in latest commit bee3e0b

@dmulyalin
Copy link
Owner

That was adressed starting with release 0.13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants