]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Renaming stages
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Oct 2013 22:38:15 +0000 (20:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Oct 2013 22:38:15 +0000 (20:38 -0200)
README
manifests/host.pp [moved from manifests/host-stage1.pp with 100% similarity]
manifests/master.pp [moved from manifests/admin-stage1.pp with 100% similarity]
manifests/repository.pp [moved from manifests/stage0.pp with 100% similarity]

diff --git a/README b/README
index 80be0b3d76e1857de8f906d90c93cb0147926992..7df35cf54e4035a9ffcbcd4bb07bf50cba206372 100644 (file)
--- a/README
+++ b/README
@@ -10,15 +10,22 @@ http://git.sarava.org. Check the code for the full dependency list.
 Bootstrap sequence
 ------------------
 
-In Debian, run the following as super user to bootstrap:
+In Debian, run the following as super user:
 
   apt-get update
-  apt-get install puppet puppetmaster git-core
-  /etc/init.d/puppetmaster stop
-  apt-get install git
+  apt-get install puppet git
   mkdir -p /etc/puppet/modules
   git clone git://git.sarava.org/puppet-bootstrap /etc/puppet/modules/bootstrap
-  # edit /etc/puppet/modules/bootstrap/manifests/init.pp to suit your needs.
-  puppet apply --debug --verbose /etc/puppet/modules/bootstrap/manifests/init.pp
+  $EDITOR /etc/puppet/modules/bootstrap/manifests/init.pp # to suit your needs.
+  puppet apply --debug --verbose /etc/puppet/modules/bootstrap/manifests/repository.pp
   puppet agent --no-daemonize --debug --verbose --onetime
 
+Then, to bootstrap the master node:
+
+  puppet apply --debug --verbose /etc/puppet/modules/bootstrap/manifests/master.pp
+  puppet agent --no-daemonize --debug --verbose --onetime
+
+Alternativelly, if you want to to bootstrap the host:
+
+  puppet apply --debug --verbose /etc/puppet/modules/bootstrap/manifests/host.pp
+  puppet agent --no-daemonize --debug --verbose --onetime
similarity index 100%
rename from manifests/host-stage1.pp
rename to manifests/host.pp
similarity index 100%
rename from manifests/stage0.pp
rename to manifests/repository.pp