aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-20 19:01:02 -0300
committerdrebs <drebs@riseup.net>2011-03-20 19:01:02 -0300
commit6fe160a2b0d485440f73bb64cf9eb4352350d24f (patch)
treed9b96a2b4ce2c29b938831e7f71024c17b613ee4
parent9ae86a8975ec6e7b565cf78109f2703a917c3dc5 (diff)
downloadpadrao-6fe160a2b0d485440f73bb64cf9eb4352350d24f.tar.gz
padrao-6fe160a2b0d485440f73bb64cf9eb4352350d24f.tar.bz2
fingerprint ssh do vsever master
-rw-r--r--bootstrap.mdwn10
1 files changed, 7 insertions, 3 deletions
diff --git a/bootstrap.mdwn b/bootstrap.mdwn
index 31834f0..4980021 100644
--- a/bootstrap.mdwn
+++ b/bootstrap.mdwn
@@ -36,7 +36,7 @@ Clone o repositório `puppet-bootstrap`:
export puppet_bootstrap_dir=/tmp/puppet-bootstrap
export PUPPETLIB=$puppet_bootstrap_dir/modules
- apt-get install git-core puppet
+ apt-get -y install git-core puppet
git clone git://git.sarava.org/puppet-bootstrap $puppet_bootstrap_dir
Altere o arquivo `$puppet_bootstrap_dir/manifests/config.pp` de acordo com suas necessidades.
@@ -50,6 +50,9 @@ Os comandos a seguir realizam as seguintes tarefas:
puppet apply -d -v $puppet_bootstrap_dir/manifests/stage0.pp
puppet apply -d -v $puppet_bootstrap_dir/manifests/host-stage1.pp
+Anote a fingerprint da chave ssh do vserver:
+
+ ssh-keygen -l -f /var/vservers/$host-master/etc/ssh/ssh_host_rsa_key.pub
Configuração do nó administrativo
---------------------------------
@@ -69,10 +72,11 @@ Os comandos a seguir realizam as seguintes tarefas:
* Instalação do gitosis.
* Instalação do puppetmaster com configuração de atualização periódica do repositório em `/etc/puppet` (que criaremos em instantes).
+teste
+
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
------------------------------
@@ -183,7 +187,7 @@ Pedaços de código úteis para o bootstrap
Configuração de submódulos padrão
---------------------------------
- apt-get install puppetmaster puppet git-core openssh-server
+ apt-get -y install puppetmaster puppet git-core openssh-server
cd /etc/puppet
mkdir modules
git init