Support Questions
Find answers, ask questions, and share your expertise

run recipes on existing cluster

Explorer

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

2 REPLIES 2

@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!

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.