diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-10-27 20:38:15 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-10-27 20:38:15 -0200 |
commit | 1dbfb411962d22b3f61fb9ec2696879bb9a62ca4 (patch) | |
tree | ccdd351d8a313a599a91e87e1c62c0f7f43b5f94 | |
parent | 6f517a0fc2d2c29596d13c75b2a132bce10d57a8 (diff) | |
download | puppet-bootstrap-1dbfb411962d22b3f61fb9ec2696879bb9a62ca4.tar.gz puppet-bootstrap-1dbfb411962d22b3f61fb9ec2696879bb9a62ca4.tar.bz2 |
Renaming stages
-rw-r--r-- | README | 19 | ||||
-rw-r--r-- | manifests/host.pp (renamed from manifests/host-stage1.pp) | 0 | ||||
-rw-r--r-- | manifests/master.pp (renamed from manifests/admin-stage1.pp) | 0 | ||||
-rw-r--r-- | manifests/repository.pp (renamed from manifests/stage0.pp) | 0 |
4 files changed, 13 insertions, 6 deletions
@@ -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 diff --git a/manifests/host-stage1.pp b/manifests/host.pp index 179dda8..179dda8 100644 --- a/manifests/host-stage1.pp +++ b/manifests/host.pp diff --git a/manifests/admin-stage1.pp b/manifests/master.pp index 4aa3806..4aa3806 100644 --- a/manifests/admin-stage1.pp +++ b/manifests/master.pp diff --git a/manifests/stage0.pp b/manifests/repository.pp index b148933..b148933 100644 --- a/manifests/stage0.pp +++ b/manifests/repository.pp |