diff options
author | drebs <drebs@riseup.net> | 2011-03-12 18:57:50 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-12 18:57:50 -0300 |
commit | 134ae609733cb4a9a63bad55c4cf0289fb031410 (patch) | |
tree | afae54422dcc1b3192dff6742c5ff5f2e6fd2d35 | |
parent | aff4e2ea364b129b170f6e6b3ea45c0988a5d5a2 (diff) | |
download | padrao-134ae609733cb4a9a63bad55c4cf0289fb031410.tar.gz padrao-134ae609733cb4a9a63bad55c4cf0289fb031410.tar.bz2 |
usando stages no bootstrap
-rw-r--r-- | bootstrap.mdwn | 18 |
1 files 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áquina hospedeira 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 ------------------------------ |