We have existing MR cluster and wanted to know if there is a way to run salt recipes on existing cluster?
Yes, you can copy your own Salt states to the Ambari Server (under /srv/salt) and execute them with the following command.
salt '*' state.apply
Your Salt states can do any arbitrary logic and call shell scripts as well.
Hope this helps!
If you consider your question answered, would you consider accepting it also? Thanks!