Help needed - I'm very new to puppet

40 views
Skip to first unread message

Istvan Kassai

unread,
Feb 22, 2016, 10:23:16 AM2/22/16
to Puppet Users
Hi folks,

In the last half year I tried to learn puppet (for about 4-5 times) but haven't got so far.
Yesterday I decided I won't give up. Gathered a lots of docs, howtos, tutorials etc.
What I achieved:
I installed two ubuntu 15.10s into my KVM environment. One for puppet master and the other as an agent. As I can check it does something, because there are yaml files in the /var/lib/puppet/yaml/nodes and /var/lib/puppet/yaml/facts directories with some details about the agent computer.
Then I tried to modify the apache's config, and started to find out how it will be saved to the master. I started to search for the internet and the docs I collected before, and found there is a puppetlabs-apache module.
This was the point where I started guessing. Because I haven't find any references where have I install this module. This is a common problem with the tutorials, those aren't refer that, what activities (I mean "commands to run" or "configs") on what side (master or agent) should I do.
So, I guessed and installed the puppetlabs-apache module on the agent side, and tested what happens? But nothing. There are no anything apache related thing in those yaml files.
As I had to admit, this is more complicated to me to cope with this alone.
So I'm here and looking for a kind person who is patient enough to help me.
Could someone help me to understand (through a few examples like iptables, apache, samba etc) how puppet works for basic tasks? How can I save config of an agent, how can I check is that working in order, how can I restore the saved config on a newly installed agent?

Thanks a lot.
Istvan

Scott Walker

unread,
Feb 22, 2016, 6:12:24 PM2/22/16
to Puppet Users
Have you tried that tutorials, they are very well done and do take you step by step.

warron.french

unread,
Feb 23, 2016, 8:09:19 AM2/23/16
to puppet...@googlegroups.com
Ivstan, there is also a Learning VM you can download, install into your VMware or Oracle VirtualBox framework and run to learn a lot.  It is VERY useful.

However, I would say that right after you complete all of those modules in a single sweep (go back over them as you need them) it makes sense to also be ready with your own VM-setup to start writing even the most basic modules.  That's where I am stuck.  That is why I am going to go back to the Learning VM and re-educate myself on Puppet using the Learning VM.



--------------------------
Warron French


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/76c9bf32-e8dd-450a-9a54-67b9b4b48047%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Istvan Kassai

unread,
Feb 23, 2016, 1:18:43 PM2/23/16
to Puppet Users
Hi Scott,

I found a lots of tutorials. But if you know a good one, please send a link. Of course I tried to read before. All I've achieved is because of these docs. I want to step forward, but I don't know how.
Message has been deleted

Istvan Kassai

unread,
Feb 23, 2016, 1:25:29 PM2/23/16
to Puppet Users

Hi Warron,

How do you mean Learning VM? Is there a downloadable virtual appliance?
I've installed two Ubuntu VM-s onto KVM. Installed the puppet related packages, the agent can communicate with the master. This pair (master-agent) is in state "ready to work with", but I don't know how. :-(

Matthew Hyclak

unread,
Feb 23, 2016, 2:45:34 PM2/23/16
to puppet...@googlegroups.com
https://learn.puppetlabs.com/ or click on Learn from the main PuppetLabs website.

Learning VM is located on that page.

Matt

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

Felix Frank

unread,
Feb 27, 2016, 6:13:59 PM2/27/16
to puppet...@googlegroups.com
Hi,

if you consider yourself to be generally well versed in programming and
operations, you can use the quickstart book I wrote with Martin:
https://www.packtpub.com/networking-and-servers/puppet-4-essentials-second-edition

It's pricey (can your employer buy it for you?), but it will take you
through a series of rapid steps to get productive. If you go for it,
please let me know what you think!

Cheers,
Felix
Reply all
Reply to author
Forward
0 new messages