The Great Ruby Controversy
-
Upload
jesus-maria-garcia -
Category
Documents
-
view
29 -
download
4
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.xuxo.garcia
@GarciaXuxo
/jesusmgarcia