Support Questions

Find answers, ask questions, and share your expertise

run recipes on existing cluster


We have existing MR cluster and wanted to know if there is a way to run salt recipes on existing cluster?


@prarthana basgod

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!

@prarthana basgod

If you consider your question answered, would you consider accepting it also? Thanks!