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