Skip to content

Commit

Permalink
Cologne.rb Usergroup Talk
Browse files Browse the repository at this point in the history
  • Loading branch information
bascht committed Jul 21, 2012
1 parent 18a5c8d commit 16cb265
Show file tree
Hide file tree
Showing 7 changed files with 280 additions and 0 deletions.
Empty file added 2012-cologne.rb/notes.md
Empty file.
124 changes: 124 additions & 0 deletions 2012-cologne.rb/puppet/01_intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
!SLIDE
## Kochen mit Vagrant & Puppet ##
### Cologne.rb · 20.06.2012 ###

Sebastian Schulze · @bascht · github.com/bascht

!SLIDE subsection
# Vagrant #

!SLIDE
## Tool zur Verwaltung und Beschreibung von virtuellen Maschinen. ##

!SLIDE center

> »Geschnittenes Brot«.
!SLIDE smbullets incremental
# Über mich

* Freiberuflicher DevOp
* In-House Sisyphos
* Zwischen Development, Testing & Deployment

!SLIDE center

![Level of care](levelofcare.png)

!SLIDE incremental smaller
# Keine Lust…

* …sich mit Formatierung herumzuschlagen: **Markdown**
* …Pakte von Hand zu installieren: **Bundler**
* …virtuelle Maschinen zu pflegen: **Vagrant**
* …Serverkonfigurationen von Hand zu pflegen: **Puppet**

!SLIDE
# Infrastructure as Code

!SLIDE code smaller

@@@ ruby
Vagrant::Config.run do |config|
config.vm.name = "colognerb"
config.vm.box = "base"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"

config.vm.customize ["modifyvm", :id, "--memory", "512"]
config.vm.customize ["modifyvm", :id, "--cpus", "2"]

config.vm.network :hostonly, "33.33.33.42"
end



!SLIDE center
![VirtualBox](virtualbox.png)

!SLIDE commandline incremental
# DSL für VBoxManage

$ cat .vagrant
{"active":{"default":"d7ab1994-ed44-4857-88bc-eb6c51dec09a"}}

$ vboxmanage list runningvms
"machine_1340096090" {d7ab1994-ed44-4857-88bc-eb6c51dec09a}

!SLIDE incremental center
## Lifecycle-Management
(Bingo!)

* `1 UP`
* `2 SUSPEND`
* `3 HALT`
* `4 DESTROY`
* `6 GOTO 1`

!SLIDE incremental commandline center
## OS X Goodness

$ gem install vagrant-dns

!SLIDE center
# ✔ Hardware

!SLIDE subsection
# Puppet

!SLIDE
# CMS

!SLIDE incremental
## Configuration Management Software

* …wie Chef.
* …oder CFEngine.
* …oder Perl.

!SLIDE center
> Woanders ist auch scheiße.
!SLIDE incremental
# Puppet

## Nodes
## Manifests
### Klassen
### Defines
## Templates
## Files

!SLIDE code smaller center
# (Fast) OS-Agnostisch.

!SLIDE code smaller center
# (Fast) lesbar.

package { "vim": ensure => latest }
package { "emacs": ensure => absent }

node "cologne.onruby" { }

!SLIDE
## Demo-Time.

Binary file added 2012-cologne.rb/puppet/levelofcare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
118 changes: 118 additions & 0 deletions 2012-cologne.rb/puppet/levelofcare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2012-cologne.rb/puppet/virtualbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions 2012-cologne.rb/showoff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Kochen mit Vagrant und Puppet",
"sections": [
{"section" : "vagrant"},
{"section" : "puppet"}
]
}
31 changes: 31 additions & 0 deletions 2012-cologne.rb/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
body {
}
.slide {
background-image: linear-gradient(bottom, rgb(219,219,219) 21%, rgb(255,255,255) 85%);
background-image: -o-linear-gradient(bottom, rgb(219,219,219) 21%, rgb(255,255,255) 85%);
background-image: -moz-linear-gradient(bottom, rgb(219,219,219) 21%, rgb(255,255,255) 85%);
background-image: -webkit-linear-gradient(bottom, rgb(219,219,219) 21%, rgb(255,255,255) 85%);
background-image: -ms-linear-gradient(bottom, rgb(219,219,219) 21%, rgb(255,255,255) 85%);

background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.21, rgb(219,219,219)),
color-stop(0.85, rgb(255,255,255))
);
}

.content {
font-family: "Ubuntu", Courier, monospace;
}

.subsection h1,
.subsection h2 {
font-weight: bold;
background-color: #750909;
}

h1, h2 {
/* color: rgb(79, 180, 226); */
}

0 comments on commit 16cb265

Please sign in to comment.