Presentation

764
-1

Published on

Adam Kosmin

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
764
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Presentation

  1. 1. Automating The Puppet Distribution Network Adam Kosmin – Reliant Security, Inc. Puppet Conference September 23, 2011Adam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 1/1
  2. 2. Part I: Design Objectives Support multiple sitesAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 2/1
  3. 3. Part I: Design Objectives Support multiple sites Automate continuous replicationAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 2/1
  4. 4. Part I: Design Objectives Support multiple sites Automate continuous replication Support QA work-flowAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 2/1
  5. 5. Project Requirements Branch Testing http://tinyurl.com/puppetbranch Synchronization Slaves will pull from a central data store. Modular Design Master Slave Accounts Accounts Synchronization Web ServerAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 3/1
  6. 6. Branch Testing Review Motivation QA = Develop and test in the real world. Assumptions VCS is in use which supports branching and merging. Puppet is used in a client/server model. /etc/puppet is a working directory on the master. Workflow Commit into testing branch. Sync manifests and start puppetmasterd on a non-standard port. Run agent against the non-standard port using –noop. Merge testing branch into trunk if QA passes.Adam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 4/1
  7. 7. Synchronization Requirement Provided via Periodic pull via rsync Native Puppet Types Secure (dumb) clients http://tinyurl.com/sec-auto-rsyncAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 5/1
  8. 8. Modular Design: The Big PictureAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 6/1
  9. 9. Part II: Example Code http://tinyurl.com/relsecprescode Scaffolding manifests/site.pp manifests/nodes/* modules/puppet/manifests/master.pp modules/puppet/manifests/slave.pp Work Flow bin/commit modules/puppet/templates/slave/global/puppet slave rsync.sh.erb modules/puppet/templates/slave/global/puppet slave webrick.sh.erbAdam Kosmin – Reliant Security, Inc. (Puppet Conference) Puppet Distribution Network Automating The September 23, 2011 7/1

×