Hi Justice, Here is one possible way of handling your use case. Set your roles to launch sequentially (in Farm settings); make sure your puppet master role is at the top (or at least above the other puppet agent role). You can then set a Blocking script on your puppet agent role triggered during the BeforeHostUp event, which can poll some Global Variable to ensure that the puppet master has come up.
-Praneet On Monday, September 30, 2013 8:10:28 PM UTC-7, Justice London wrote: > > Hello, I was trying to figure out if there's any way to have certain > orchestration steps depend on other servers? Mostly, I have a puppet-master > I am starting up and don't want any other servers to try running 'puppet > agent' before this occurs. I can have the puppet master run the agent on > the other servers when it gives a hostup, but it would be better and more > scalable to have it instead just have the other servers not able to switch > to HostUp states, etc. until the one server finishes up. > > Justice > -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
