Ask Your Question
0

How to deploy MASTER/BACKUP machines using Puppet?

asked 2018-04-30 07:38:04 -0500

bilgo gravatar image

I have 2 VMs. I'm using keepalived to have them as MASTER/BACKUP with the same VIP. (http://www.keepalived.org) I want to deploy the machines one by one using Puppet.

I want to deploy the the BACKUP first and when it finishes, deploy the MASTER.

What is the best way to do it using Puppet?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-30 08:56:08 -0500

Mr_Sharma gravatar image

well, I guess it's very easy now because of a very new brand feature of Puppet Enterprise 2018 (getting release tomorrow: 1st May) which is Puppet Bolt. It comes with a plan functionality which gives you a better control to deploy what and where with some specific order. A neat example with details can be found here:

https://puppet.com/docs/bolt/0.x/writ...

Hope this is what you looking for.

edit flag offensive delete link more

Comments

Hi. Thx for your answer. We are not using Puppet Enterprise yet and we are looking to do it today. Any suggestions?

bilgo gravatar imagebilgo ( 2018-04-30 09:00:18 -0500 )edit

puppet bolt is an opensource component, who's counterpart is 'puppet tasks' which is a part of puppet enterprise.

DarylW gravatar imageDarylW ( 2018-05-01 11:36:21 -0500 )edit

but still we were missing 'plan' which is now in PE along with Bolt, if I'm correct. @bilgo, as DarylW mentioned still we can leverage the features of Bolt irrespective of open source or PE.

Mr_Sharma gravatar imageMr_Sharma ( 2018-05-02 00:11:42 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2018-04-30 07:38:04 -0500

Seen: 52 times

Last updated: Apr 30

Related questions