Go to file
Jörg Thalheim cb9d5991c3 add report.pdf 2014-06-10 15:01:35 +02:00
manifests add puppet 2014-02-08 16:51:37 +01:00
modules add puppet 2014-02-08 16:51:37 +01:00
nodes add puppet 2014-02-08 16:51:37 +01:00
presentation presentation: relative links 2014-03-06 16:41:20 +01:00
report add report.pdf 2014-06-10 15:01:35 +02:00
roles seperate node specific data from role 2014-01-21 23:11:25 +01:00
script add report 2014-06-10 14:56:14 +02:00
site-cookbooks ntp/README.md: fix typo 2014-03-11 17:36:13 +01:00
spec fix lctp-network_spec 2014-02-08 16:51:38 +01:00
.envrc add report 2014-06-10 14:56:14 +02:00
.gitignore gitignore: blacklist direnv 2014-01-25 08:57:27 +01:00
.gitmodules presentation: vorletzter Schliff 2014-03-03 00:00:40 +01:00
Berksfile get network working 2014-01-27 11:13:56 +01:00
Gemfile Gemfile: add rake 2014-02-08 16:54:06 +01:00
README.md add clone url 2014-06-10 15:00:44 +02:00
Rakefile rake:test fix syntax check 2014-03-11 17:35:55 +01:00
Thorfile First commit 2014-01-19 15:34:01 +01:00
Vagrantfile add report 2014-06-10 14:56:14 +02:00

README.md

Clone-URL:

$ git clone anongit@higgsboson.tk:chef-lctp

Mein Abschlussprojekt für das Linuxcluster-Praktikum (lctp) an der TU Dresden Provisionierungssystem Chef

Für das Basissetup wird vagrant, virtualbox und ruby (> 1.9) benötigt:

$ vagrant --version
Vagrant 1.4.3

$ VBoxManage --version
4.3.6_OSEr91406

$ ruby --version
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]

Für Chef

Ruby-Abhängigkeiten installieren:

$ cd chef-lctp
$ bundle

Es werden ein paar andere Cookbooks verwendet, diese werden mit diesem Befehl heruntergeladen (der berkshelf sollte mit bundle installiert werden)

$ berks install

In vagrant benutze ich noch 2 Plugins, welche installiert werden müssen:

$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-berkshelf

Danach können die virtuellen Maschinen hochgefahren werden:

$ vagrant up

Danach kann man sich mit den Befehl:

$ vagrant ssh node0.lctp

bzw.

$ vagrant ssh node1.lctp

auf den VMs einloggen

Für Puppet

Puppet Module auschecken:

$ git submodule init
$ git submodule update