summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.mdwn6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.mdwn b/bootstrap.mdwn
index 7d92f3a..31834f0 100644
--- a/bootstrap.mdwn
+++ b/bootstrap.mdwn
@@ -50,6 +50,7 @@ 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
+
Configuração do nó administrativo
---------------------------------
@@ -71,6 +72,7 @@ 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/admin-stage1.pp
+
Criação de repositórios padrão
------------------------------
@@ -189,7 +191,7 @@ Configuração de submódulos padrão
repos="`lynx -dump http://git.sarava.org/?a=project_index | awk '{ print $1 }' | grep ^puppet-`"
for repo in $repos; do
- module="`basename $repo .git | cut -d - -f 2`"
+ module="`basename $repo .git | sed -e s/^puppet-//`"
if [ ! -d "modules/$module" ]; then
git submodule add git://git.sarava.org/puppet-$module.git modules/$module
fi
@@ -207,7 +209,7 @@ Configurando referências remotas em massa
# Adicionando referencias
for repo in $repos; do
- module="`basename $repo .git | cut -d - -f 2`"
+ module="`basename $repo .git | sed -e s/^puppet-//`"
if [ -d "puppet-$module" ]; then
cd puppet-$module
for remote in $remotes; do