The Great Ruby Controversy

9
& October 4, 2016 The Great Ruby Controversy

Transcript of The Great Ruby Controversy

Page 1: The Great Ruby Controversy

&

October 4, 2016

The GreatRuby Controversy

Page 2: The Great Ruby Controversy

EA CP DS

Sec

DBA

Ops

Middleware

BASE SYSTEM

Customize

Customer

AutomationNeeds

Page 3: The Great Ruby Controversy

=• Data driven• Error Checking• Security framework• Modular• Flexibility• Functionality• Providers• etc

Page 4: The Great Ruby Controversy
Page 5: The Great Ruby Controversy

Coding withPuppet

Modules:• Units of Puppet DSL code that perform specific Infrastructure

actions :

• Manipulate files, users, packages and services

• Basic setup: templates, manifests, files

• http://forge.puppet.com

• Custom

• Combination of both

Module sources:

Page 6: The Great Ruby Controversy

SampleModule

Install Apache:

class { 'apache': }

Add page:

file { ‘/var/www/html/index.html':

ensure => file, content => template('profiles/index.html.erb'),

}

Page 7: The Great Ruby Controversy

SampleModule

Install Apache:

class { 'apache': }

What happens:

• Puppet determines how to install

• If it is installed…do nothing!

• Will install again if removed

Page 8: The Great Ruby Controversy

Need

[email protected]

/jesus.xuxo.garcia

@GarciaXuxo

/jesusmgarcia

Page 9: The Great Ruby Controversy