Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can someone help me with puppet node ordering, I know how to control sequence inside classes using require, before, subscribe etc but I need to be 100% sure that my node2 will be executed only after node1 because my node2 can't work without node1.

share|improve this question
    
It feels like you should built your node2 as robust to not too heavily depend upon node1. If it cannot be provisioned without node1, how will it handle outages of node1? –  Michuelnik Nov 18 '13 at 20:40

1 Answer 1

It isn't possible to do this within puppet. If you need to perform puppet runs across servers in a specific order, you need to use another tool to orchestrate the runs.

share|improve this answer
    
Possible tools to orchestrate the puppet runs: ansible and pdsh. –  Mark Wagner Nov 19 '13 at 0:38
    
It would seem a little odd to use ansible (a complete CM tool like puppet) to orchestrate puppet. –  sciurus Nov 20 '13 at 1:20
    
Not really. ansible patterns for selecting hosts are very useful, even if you don't use all the other stuff. Nevertheless ansible is great for adhoc commands as well. –  Mark Wagner Nov 20 '13 at 18:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.