aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 7df35cf54e4035a9ffcbcd4bb07bf50cba206372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Puppet Boostrap Module
======================

This is a very specific puppet module that boostraps a node for use with
puppet-nodo infrastructure.

It heavily depends on other puppet modules available mainly on
http://git.sarava.org. Check the code for the full dependency list.

Bootstrap sequence
------------------

In Debian, run the following as super user:

  apt-get update
  apt-get install puppet git
  mkdir -p /etc/puppet/modules
  git clone git://git.sarava.org/puppet-bootstrap /etc/puppet/modules/bootstrap
  $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