Puppet seadistamine Ubuntu süsteemis: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Ttrumm (talk | contribs)
No edit summary
Ttrumm (talk | contribs)
No edit summary
Line 21: Line 21:
===Puppetmasteri instaleerimine===
===Puppetmasteri instaleerimine===
  apt-get install puppet puppetmaster
  apt-get install puppet puppetmaster
=== ===


==Klient / Puppet==
==Klient / Puppet==

Revision as of 13:00, 5 December 2011

Sissejuhatus

Käesolev juhend on mõeldud inimesele, kes oskab UNIX käsurida ja saab aru mis info paikneb /etc/hosts failis.

Juhend õpetab ja näitab kuidas installeerida ja seadistada Puppet master + kaks puppetit.

Selleks on vaja kolme masinat, millel jookseb ubuntu server.

Kõik näidetes kirjeldatud käsud käivitada administraatori õigustes.

Joonis

Paigaldamine (Ubuntu server)

Lisame read /etc/hosts faili

Need read lisame iga masina /etc/hosts faili

192.168.1.1 puppetmaster.example.com puppetmaster
192.168.1.3 puppetclient1.example.com puppetclient1
192.168.1.2 puppetclient2.example.com puppetclient2

Server / Puppetmaster

Puppetmasteri instaleerimine

apt-get install puppet puppetmaster

Klient / Puppet

sudo apt-get   install puppet