I am writing a state module that will build a distributed system. This
system has a master-slave architecture. The order in which the state is
enforced on each node matters. For example, I need the master node fully
bootstrapped and running before slave nodes join the cluster, so the state
on a slave node should only be run once the state on the master node's run.
Now I know that the goto solution for this is the orchestrate runner. And
yes its true that I could write a sls file that takes pieces of my code and
runs it on individual nodes in the proper order. However, I find this to be
clunky and unnecessarily complicated. I want to be able to essentially
build the orchestration logic directly into the state. That way a user
could simply say "here are my nodes -- put them into the 'cluster' state"
and the state module would take care of the rest.
In other words, I want my state module to describe the state of a
distributed system, which just so happens to have multiple odes in it. I
think salt could handle this usage very well but i don't see a way to do it.
Is there anyway to do this?
Thanks,
Joe
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.