aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 13 insertions, 6 deletions
diff --git a/README b/README
index 80be0b3..7df35cf 100644
--- 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