diff options
author | drebs <drebs@riseup.net> | 2011-03-12 11:51:07 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-12 11:51:07 -0300 |
commit | aff4e2ea364b129b170f6e6b3ea45c0988a5d5a2 (patch) | |
tree | be27bc9a6a5986cdbf428a3153c8f5664897da50 | |
parent | 3d374bf82dbd67ed8b63be0a03625a021588c60a (diff) | |
download | padrao-aff4e2ea364b129b170f6e6b3ea45c0988a5d5a2.tar.gz padrao-aff4e2ea364b129b170f6e6b3ea45c0988a5d5a2.tar.bz2 |
hostname info
-rw-r--r-- | bootstrap.mdwn | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/bootstrap.mdwn b/bootstrap.mdwn index a1b9ebb..6db424e 100644 --- a/bootstrap.mdwn +++ b/bootstrap.mdwn @@ -27,25 +27,31 @@ Documentação [aqui](/install). Clonagem do puppet-bootstrap na máquina hospedeira --------------------------------------------------- - apt-get install git-core - git clone git://git.sarava.org/puppet-bootstrap /tmp/puppet-bootstrap + puppet_bootstrap_dir=/tmp/puppet-bootstrap + apt-get install git-core puppet + git clone git://git.sarava.org/puppet-bootstrap $puppet_bootstrap_dir -Altere o arquivo `/tmp/puppet-bootstra/manifests/config.pp` de acordo com suas necessidades. +Altere o arquivo `$puppet_bootstrap_dir/manifests/config.pp` de acordo com suas necessidades. Criação do nó administrativo ---------------------------- +Preencha o hostname e domínio da máquina no arquivo `/etc/hosts`: + + 127.0.0.1 localhost + xxx.yyy.zzz.www hostname.domain hostname + Nesta etapa criamos um vserver para abrigar o nó administrativo: - puppet apply -d -v /tmp/puppet-bootstrap/manifests/admin.pp - puppet apply -d -v /tmp/puppet-bootstrap/manifests/firewall.pp + puppet apply -d -v $puppet_bootstrap_dir/manifests/admin.pp + puppet apply -d -v $puppet_bootstrap_dir/manifests/firewall.pp Bootstrap do puppet no vserver administrativo --------------------------------------------- - puppet apply -d -v /tmp/puppet-bootstrap/manifests/default-conf.pp - puppet apply -d -v /tmp/puppet-bootstrap/manifests/gitosis.pp - puppet apply -d -v /tmp/puppet-bootstrap/manifests/puppetmaster.pp + 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 Criação de repositórios padrão ------------------------------ |