salt icon indicating copy to clipboard operation
salt copied to clipboard

Feature-Request: To have pillar data defined on the CLI to be passed through the defined renderers

Open rickh563 opened this issue 11 years ago • 2 comments

) Feature-Request:

To have pillar data defined on the CLI to be passed through the defined renderers.


Currently, pillar data defined on the CLI is directly added to the pillar data structure and sent down to the minion. The data is not passed through the rendering system first.


ZD-425

rickh563 avatar Sep 11 '15 19:09 rickh563

This would not easily be done. CLI arguments are passed through a YAML safe-loader pretty early on, it's what allows us to automagically get python data structures out of repr'ed data passed on the CLI.

It would, at minimum, require a CLI argument in the argparse mixins to specify the renderer to use for the pillar CLI kwarg. Then there's the fact that I'm not sure whether or not the grains/pillar/etc. are available that early in the Salt run. I'm assuming of course that people will want access to templating as well, though this would look very ugly on the CLI.

terminalmage avatar Sep 17 '15 16:09 terminalmage

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.

stale[bot] avatar Jan 04 '18 18:01 stale[bot]