From 134ae609733cb4a9a63bad55c4cf0289fb031410 Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 12 Mar 2011 18:57:50 -0300 Subject: usando stages no bootstrap --- bootstrap.mdwn | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bootstrap.mdwn b/bootstrap.mdwn index 6db424e..36c9449 100644 --- a/bootstrap.mdwn +++ b/bootstrap.mdwn @@ -30,28 +30,28 @@ Clonagem do puppet-bootstrap na m puppet_bootstrap_dir=/tmp/puppet-bootstrap apt-get install git-core puppet git clone git://git.sarava.org/puppet-bootstrap $puppet_bootstrap_dir + puppet apply -d -v $puppet_bootstrap_dir/manifests/stage0.pp Altere o arquivo `$puppet_bootstrap_dir/manifests/config.pp` de acordo com suas necessidades. -Criação do nó administrativo ----------------------------- +Criação de um nó administrativo +------------------------------- -Preencha o hostname e domínio da máquina no arquivo `/etc/hosts`: +Preencha o hostname e domínio da máquina no arquivo `/etc/hosts` (a ordem dos hostnames é importante para os facts `hostname` e `domain`): 127.0.0.1 localhost xxx.yyy.zzz.www hostname.domain hostname -Nesta etapa criamos um vserver para abrigar o nó administrativo: +Crie um vserver para abrigar o nó administrativo: - puppet apply -d -v $puppet_bootstrap_dir/manifests/admin.pp - puppet apply -d -v $puppet_bootstrap_dir/manifests/firewall.pp + puppet apply -d -v $puppet_bootstrap_dir/manifests/host-stage1.pp Bootstrap do puppet no vserver administrativo --------------------------------------------- - puppet apply -d -v $puppet_bootstrap_dir/manifests/default-conf.pp - puppet apply -d -v $puppet_bootstrap_dir/manifests/gitosis.pp - puppet apply -d -v $puppet_bootstrap_dir/manifests/puppetmaster.pp + vserver hostname-master enter + puppet apply -d -v $puppet_bootstrap_dir/manifests/stage0.pp + puppet apply -d -v $puppet_bootstrap_dir/manifests/admin-stage1.pp Criação de repositórios padrão ------------------------------ -- cgit v1.2.3