The Great Ruby Controversy

Post on 15-Apr-2017

29 views 4 download

Transcript of The Great Ruby Controversy

&

October 4, 2016

The GreatRuby Controversy

EA CP DS

Sec

DBA

Ops

Middleware

BASE SYSTEM

Customize

Customer

AutomationNeeds

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

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:

SampleModule

Install Apache:

class { 'apache': }

Add page:

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

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

}

SampleModule

Install Apache:

class { 'apache': }

What happens:

• Puppet determines how to install

• If it is installed…do nothing!

• Will install again if removed

Need

jesus@puppet.com

/jesus.xuxo.garcia

@GarciaXuxo

/jesusmgarcia