Ask Your Question

Learning puppet

asked 2016-02-29 07:11:55 -0600

adiabr gravatar image


What is the best method to learn puppet? Example, Read, etc? Can you please refer me to useful link to learn based on the answer?

Thanks in advance

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2016-03-07 21:59:19 -0600

DarylW gravatar image

updated 2016-03-07 22:00:52 -0600

My replies are getting pretty long winded, so I'll turn this into a dedicated answer.

You said you already have a configuration set up with a master and two agents. That's a great start. and are great places to start.

For your next step, I would suggest some of the following options.

1) Learn about module design. The puppetlabs docs are really great on this topic. One gotcha is containment and anchoring, That bit me a few times until I really started to understand how it worked.

2) Get involved with a module that you use/plan on using from the puppetforge. Read the codebase. Read the tests. Read the issues/pull requests.

3) Start learning about mcollective. mcollective seems to be the industry standard for cluster orchestration and management for systems using puppet. I would look at the mcollective-vagrant project. Be sure to look though the puppet modules used to craft the Virtualbox VM. They are a great example of a common pattern for module layout and design. This same style recommendation is reflected in the official puppet docs linked above.

4) Lots of great examples on rnelson0's blog. I would recommend learning about the r10k based workflow, integrating rspec-puppet tests into your modules, and integrating hiera for seperating your data from your code, as well as the roles and profiles pattern.

5) For more of the same from #3 but with a fun perspective to read, check out Shit Gary Says The talks on the workflow, and using hiera contain lots of great information.

edit flag offensive delete link more

answered 2016-02-29 07:16:33 -0600

I would start here. Good luck!

edit flag offensive delete link more

answered 2016-02-29 07:23:01 -0600

adiabr gravatar image

Thank you Alex,

I have already setup puppet master and two agents.

I want to understand what can I do practically, cover the basic, etc?

edit flag offensive delete link more


Yes, do those exercises to start.

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 07:25:30 -0600 )edit

Ok. Thank you

adiabr gravatar imageadiabr ( 2016-02-29 07:50:53 -0600 )edit

When I import the ova file into Vm workstation. I power up the virtual machine and it says: "CentOS linux 7 core" I need ubuntu... and "this kernel requires an x86-64 CPU, but only detects an i686 CPU, This processor is unsupported in CentOS 7" I don't see in the site, how can I download ubuntu vm .

adiabr gravatar imageadiabr ( 2016-02-29 09:31:50 -0600 )edit

If the exercises use CentOS 7 why can't you just use CentOS 7?

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 09:38:09 -0600 )edit

There are no differences between using Puppet on CentOS and Ubuntu. Don't worry about that.

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 09:38:45 -0600 )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

1 follower


Asked: 2016-02-29 07:11:55 -0600

Seen: 222 times

Last updated: Mar 07 '16