Ask Your Question

Rolling updates?

asked 2014-07-01 12:49:11 -0600

manu gravatar image

updated 2014-07-02 12:33:11 -0600

I don't see any easy way of doing this, out of the box.

Most obvious way that I can see is using mcollective/puppet kick.

Better to use some other orchestration framework?

I noticed that there was an old ticket called: Puppet should support rolling updates ( )

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-03 03:38:27 -0600

cosman2001 gravatar image

Because puppet doesn't have any kind of intelligence around your cluster/farm there is no way to make that kind of decision of when to apply updates. About the best thing you can do is build a mcollective application that goes through your server farm and runs puppet on x nodes at a time and verifies the working state of each node before moving to the next. All this verification is going to be custom work.

Puppet does a great job of ensuring things are installed, running , and configured. But it doesn't know anything about the health of your application and how its supposed to work. So your going to have to build a rolling update mcollective application that would run a custom health check on each node. Furthermore if using a load balancer you would also want to disable/remove the node from the load balancer pool before running puppet. This can be done via http checks or by running cli commands on the load balancer to remove the node.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-07-01 12:49:11 -0600

Seen: 557 times

Last updated: Jul 03 '14