Agile Deployments with Puppet
-
Upload
puppet-labs -
Category
Technology
-
view
3.182 -
download
3
description
Transcript of Agile Deployments with Puppet
![Page 1: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/1.jpg)
Agile Deploymentswith Puppet
Gary LarizzaPuppet Labs
@glarizza
Saturday, October 22, 2011
![Page 2: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/2.jpg)
Agile Deploymentswith Puppet
Gary LarizzaPuppet Labs
@glarizza
http://bit.ly/garydevops
Saturday, October 22, 2011
![Page 3: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/3.jpg)
DevOps• Culture not tools?
• Release Management?
• http://slidesha.re/itweapon
• http://bit.ly/toolsmatter
• http://slidesha.re/devopstools
Saturday, October 22, 2011
![Page 4: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/4.jpg)
Example of ‘poor
deployment’
Saturday, October 22, 2011
![Page 5: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/5.jpg)
Saturday, October 22, 2011
![Page 6: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/6.jpg)
Developer
Operations
Saturday, October 22, 2011
![Page 7: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/7.jpg)
Developer
Operations
Saturday, October 22, 2011
![Page 8: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/8.jpg)
Developer
Production
Operations
Saturday, October 22, 2011
![Page 9: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/9.jpg)
Developer
Production
Staging
Operations
Saturday, October 22, 2011
![Page 10: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/10.jpg)
Developer
Production
Staging
Operations
Saturday, October 22, 2011
![Page 11: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/11.jpg)
Developer
Production
Staging
Operations
Saturday, October 22, 2011
![Page 12: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/12.jpg)
Developer
Production
Staging
Operations
Saturday, October 22, 2011
![Page 13: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/13.jpg)
Developer
Production
Staging
Build Time
Operations
Day(s)
Saturday, October 22, 2011
![Page 14: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/14.jpg)
Developer
Production
Staging QA
Build Time
Operations
Day(s)
Saturday, October 22, 2011
![Page 15: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/15.jpg)
Developer
Production
Staging QA
Build Time
Operations
Day(s)
Saturday, October 22, 2011
![Page 16: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/16.jpg)
Developer
Production
Staging QA
Build Time
Operations
Day(s)
Saturday, October 22, 2011
![Page 17: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/17.jpg)
Developer
Production
Staging QA
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 18: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/18.jpg)
Developer
Production
Staging QA
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 19: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/19.jpg)
Developer
Production
Staging QA
UK
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 20: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/20.jpg)
Developer
Production
Staging QA
UK
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 21: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/21.jpg)
Developer
Production
Staging QA
UK
China
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 22: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/22.jpg)
Developer
Production
Staging QA
UK
China
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 23: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/23.jpg)
Developer
Production
Staging QA
UK
China
Canada
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 24: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/24.jpg)
Developer
Production
Staging QA
UK
China
Canada
Build Time
Operations
Day(s) Week(s)
Saturday, October 22, 2011
![Page 25: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/25.jpg)
Developer
Production
Staging QA
UK
China
Canada
Build Time
Operations
Day(s) Week(s) ???
Saturday, October 22, 2011
![Page 26: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/26.jpg)
Rampinationhttp://bit.ly/pconfkeynote
Saturday, October 22, 2011
![Page 27: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/27.jpg)
Example of ‘Agile’
Saturday, October 22, 2011
![Page 28: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/28.jpg)
Saturday, October 22, 2011
![Page 29: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/29.jpg)
Developer
Operations
Saturday, October 22, 2011
![Page 30: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/30.jpg)
Developer
Production
Operations
Saturday, October 22, 2011
![Page 31: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/31.jpg)
Developer
Production
Operations
Configuration Data
Saturday, October 22, 2011
![Page 32: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/32.jpg)
Developer
Production
Operations
Configuration Data
Saturday, October 22, 2011
![Page 33: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/33.jpg)
Developer
Production
Operations
Configuration Data
Saturday, October 22, 2011
![Page 34: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/34.jpg)
Developer
Production
Operations
Configuration Data
Saturday, October 22, 2011
![Page 35: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/35.jpg)
Developer
Production
StagingOperations
Configuration Data
Saturday, October 22, 2011
![Page 36: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/36.jpg)
Developer
Production
Staging
Build Time
Operations
10 Minutes
Configuration Data
Saturday, October 22, 2011
![Page 37: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/37.jpg)
Developer
Production
Staging
Build Time
Operations
10 Minutes
Configuration Data
Saturday, October 22, 2011
![Page 38: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/38.jpg)
Developer
Production
Staging
Build Time
Operations
10 Minutes
Configuration Data
Saturday, October 22, 2011
![Page 39: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/39.jpg)
Developer
Production
Staging QA
Build Time
Operations
10 Minutes 1-2 Hours
Configuration Data
Saturday, October 22, 2011
![Page 40: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/40.jpg)
Developer
Production
Staging QA
Build Time
Operations
10 Minutes 1-2 Hours
Configuration Data
Saturday, October 22, 2011
![Page 41: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/41.jpg)
Developer
Production
Staging QA
Build Time
Operations
10 Minutes 1-2 Hours
Configuration Data
Saturday, October 22, 2011
![Page 42: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/42.jpg)
Developer
Production
Staging QA
Build Time
Operations
10 Minutes 1-2 Hours 3 Hours
Configuration Data
Developer Reach
Saturday, October 22, 2011
![Page 43: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/43.jpg)
Developer
Production
Staging QA
Build Time
Operations
10 Minutes 1-2 Hours 3 Hours
Configuration Data
Developer Reach
Saturday, October 22, 2011
![Page 44: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/44.jpg)
What can Ops learn from Dev?
• Do developers re-write their code at every step?
• Version control
• Testing frameworks
• Expose ‘settings’ through configuration data
Saturday, October 22, 2011
![Page 45: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/45.jpg)
Infrastructure as Code with Puppet
• Define what needs to be done
• Model your ideal state with simple resources
• Configured State vs. Running State
• Choose your level of commitment
Saturday, October 22, 2011
![Page 46: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/46.jpg)
Resource Abstraction Layer
Saturday, October 22, 2011
![Page 47: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/47.jpg)
Resource Abstraction Layer
Saturday, October 22, 2011
![Page 48: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/48.jpg)
Resource Abstraction Layer
Saturday, October 22, 2011
![Page 49: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/49.jpg)
Resource Abstraction Layer
/usr/bin/yum -y install httpd
Saturday, October 22, 2011
![Page 50: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/50.jpg)
Saturday, October 22, 2011
![Page 51: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/51.jpg)
Bare Machine
Provisioning
Base Install
Configure
Assigned Role
Maintenance
Puppet’s Task
Saturday, October 22, 2011
![Page 52: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/52.jpg)
Puppet Resources
service { 'httpd': ensure => running, enable => true, hasstatus => true, hasrestart => true,}
Saturday, October 22, 2011
![Page 53: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/53.jpg)
Type
Puppet Resources
service { 'httpd': ensure => running, enable => true, hasstatus => true, hasrestart => true,}
Saturday, October 22, 2011
![Page 54: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/54.jpg)
Type Title
Puppet Resources
service { 'httpd': ensure => running, enable => true, hasstatus => true, hasrestart => true,}
Saturday, October 22, 2011
![Page 55: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/55.jpg)
Type Title
Attributes
Puppet Resources
service { 'httpd': ensure => running, enable => true, hasstatus => true, hasrestart => true,}
Saturday, October 22, 2011
![Page 56: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/56.jpg)
Facter
• Describes aspects of your machine - “facts”
• Facts written in Ruby
• Nice library of existing facts
• Custom facts are easy
Saturday, October 22, 2011
![Page 57: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/57.jpg)
garys-mbp:$ facterdomain => puppetlabs.lanfacterversion => 1.5.8fqdn => garys-mbp.puppetlabs.lanhardwaremodel => x86_64hostname => garys-mbpkernel => Darwinmacosx_buildversion => 10K549macosx_productname => Mac OS Xmacosx_productversion => 10.6.8macosx_productversion_major => 10.6macosx_productversion_minor => 8<...>
Facter
Saturday, October 22, 2011
![Page 58: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/58.jpg)
Facter.add("computername") do confine :kernel => :darwin setcode('scutil --get ComputerName'.chomp)end
computername scutil --get ComputerName
Custom Fact
Saturday, October 22, 2011
![Page 59: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/59.jpg)
Facter.add("computername") do confine :kernel => :darwin setcode('scutil --get ComputerName'.chomp)end
computername scutil --get ComputerName
Custom Fact
Saturday, October 22, 2011
![Page 60: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/60.jpg)
Facter.add("computername") do confine :kernel => :darwin setcode('scutil --get ComputerName'.chomp)end
computername scutil --get ComputerName
Fact name
Custom Fact
Saturday, October 22, 2011
![Page 61: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/61.jpg)
Facter.add("computername") do confine :kernel => :darwin setcode('scutil --get ComputerName'.chomp)end
computername scutil --get ComputerName
Command to Execute
Fact name
Custom Fact
Saturday, October 22, 2011
![Page 62: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/62.jpg)
Facter.add("computername") do confine :kernel => :darwin setcode('scutil --get ComputerName'.chomp)end
computername scutil --get ComputerName
Command to Execute
Fact name
Custom Fact
Saturday, October 22, 2011
![Page 63: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/63.jpg)
Custom Fact
ENV.each do |key,val| Facter.add("env_#{key}") do setcode do val end endend
Saturday, October 22, 2011
![Page 64: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/64.jpg)
Separate Data from Logic
• Configuration Data adapts to environment
• Easy deployment - Puppet modules do not change
• Eliminate SSH access for deployment
Saturday, October 22, 2011
![Page 65: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/65.jpg)
Data Separation Examples
Saturday, October 22, 2011
![Page 66: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/66.jpg)
Node Inheritancenode common { $dnsserver = '8.8.8.8' $searchdomain = 'puppetlabs.vm'}
node devops inherits common { $dnsserver = '10.13.1.3'}
node 'agent.puppetlabs.vm' inherits devops { file { '/etc/resolv.conf': content => "search ${searchdomain}\n nameserver ${dnsserver}\n", }}
Saturday, October 22, 2011
![Page 67: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/67.jpg)
Data Class in Moduleclass dns::params { $dnsserver = '8.8.8.8' $searchdomain = 'puppetlabs.vm'}
class dns( $dnsserver = $dns::params::dnsserver, $searchdomain = $dns::params::searchdomain) inherits dns::params {
file { '/etc/resolv.conf': content => "search ${searchdomain}\n nameserver ${dnsserver}\n", }}
Saturday, October 22, 2011
![Page 68: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/68.jpg)
Extlookup
dnsserver, 8.8.8.8searchdomain, puppetlabs.vm
dnsserver, 10.13.1.2
common.csv devops.csv
$extlookup_datadir = "/etc/puppetlabs/puppet/data"$extlookup_precedence = [$clientcert, $environment, $architecture, 'common']
node 'agent.puppetlabs.vm' { include dns}
class dns { $dnsserver = extlookup('dnsserver') $searchdomain = extlookup('searchdomain')}
Saturday, October 22, 2011
![Page 69: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/69.jpg)
External Node Classifier
---classes: - dnsparameters: searchdomain : ‘puppetlabs.vm’ dnsserver : ‘10.13.1.2’
Saturday, October 22, 2011
![Page 70: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/70.jpg)
Hiera
• Hierarchal data lookup system
• Structured data backend
• YAML, JSON, and current Puppet state
• http://bit.ly/hieradata
Saturday, October 22, 2011
![Page 71: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/71.jpg)
Saturday, October 22, 2011
![Page 72: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/72.jpg)
Global Defaults
Saturday, October 22, 2011
![Page 73: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/73.jpg)
Global Defaults
Environment
Saturday, October 22, 2011
![Page 74: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/74.jpg)
Global Defaults
Environment
Role
Saturday, October 22, 2011
![Page 75: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/75.jpg)
Global Defaults
Environment
Role
Saturday, October 22, 2011
![Page 76: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/76.jpg)
Global Defaults
Environment
Role
Saturday, October 22, 2011
![Page 77: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/77.jpg)
Global Defaults
Environment
Role
Resultant Data Configuration
Saturday, October 22, 2011
![Page 78: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/78.jpg)
Saturday, October 22, 2011
![Page 79: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/79.jpg)
Global Defaults
Saturday, October 22, 2011
![Page 80: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/80.jpg)
Global Defaults
---ntpserver : time.puppetlabs.compuppetserver : puppet.puppetlabs.comenvironment: production
Saturday, October 22, 2011
![Page 81: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/81.jpg)
Global Defaults
---ntpserver: time.puppetlabs.compuppetserver: puppet.puppetlabs.comenvironment: production
Saturday, October 22, 2011
![Page 82: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/82.jpg)
Global Defaults
Environment
---ntpserver: time.puppetlabs.compuppetserver: puppet.puppetlabs.comenvironment: production
Saturday, October 22, 2011
![Page 83: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/83.jpg)
Global Defaults
Environment
---stompserver : stomp-qa.puppetlabs.compuppetserver : puppet-qa.puppetlabs.comenvironment: qa
---ntpserver: time.puppetlabs.compuppetserver: puppet.puppetlabs.comenvironment: production
Saturday, October 22, 2011
![Page 84: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/84.jpg)
Global Defaults
Environment
---ntpserver: time.puppetlabs.com
stompserver: stomp-qa.puppetlabs.comenvironment: qapuppetserver: puppet-qa.puppetlabs.com
Saturday, October 22, 2011
![Page 85: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/85.jpg)
Global Defaults
Environment
Role
---ntpserver: time.puppetlabs.com
stompserver: stomp-qa.puppetlabs.comenvironment: qapuppetserver: puppet-qa.puppetlabs.com
Saturday, October 22, 2011
![Page 86: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/86.jpg)
Global Defaults
Environment
Role
---storeconfigs: true
---ntpserver: time.puppetlabs.com
stompserver: stomp-qa.puppetlabs.comenvironment: qapuppetserver: puppet-qa.puppetlabs.com
Saturday, October 22, 2011
![Page 87: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/87.jpg)
Global Defaults
Environment
Role
---ntpserver: time.puppetlabs.com
stompserver: stomp-qa.puppetlabs.comenvironment: qa
storeconfigs: true
puppetserver: puppet-qa.puppetlabs.com
Saturday, October 22, 2011
![Page 88: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/88.jpg)
DEMO TIME
Saturday, October 22, 2011
![Page 89: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/89.jpg)
Devops Survey
• http://bit.ly/devopssurvey
Saturday, October 22, 2011
![Page 90: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/90.jpg)
Code is online
https://github.com/glarizza/puppet-datademo
Saturday, October 22, 2011
![Page 91: Agile Deployments with Puppet](https://reader033.fdocuments.net/reader033/viewer/2022060112/556ee76dd8b42a5f2e8b548a/html5/thumbnails/91.jpg)
Gary Larizza
• Twitter : @glarizza
• Email: [email protected]
• Web: http://www.puppetlabs.com
Saturday, October 22, 2011