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