SlideShare a Scribd company logo
1 of 17
Download to read offline
I’ve Installed Puppet!
Now What?
Hour 1
You’ve run the puppet installer,
You’ve installed agents on your nodes...
Now what?
Version Control, Workflow, Organization
Version Control
Have you ever:
●
●
●
●
●
●
●
●
●

Made a change to code, realised it was a mistake and wanted to revert?
Lost code or had a backup that was too old?
Wanted to see the difference between various versions of your code?
Wanted to prove that a particular change broke or fixed a piece of
code?
Wanted to review the history of some code?
Wanted to submit a change to someone else's code?
Wanted to share your code, or let other people work on your code?
Wanted to see how much work is being done, where, when, and by
whom?
Wanted to experiment with a new feature without interfering with
working code?
Workflow
● R10K
○
○
○
○
○

Deployment tool for Puppet
Leverages git for quick and reliable updates
As many environments as you want
Test your code before production
Robust error handling
Organization Multiple Masters
● Pros
○ Separate out Production from Development
○ Complete separation of all aspects of the
environment.
○ Security separation so pre-release code
cannot “leak” into production.
○ Upgrade/downgrade components without
causing disruption
Organization Multiple Masters
● Cons
○ You must ensure you have a good code flow
between masters
○ Risk of environment drift between the silos
○ Data is not shared between silos
Organization Hiera
● Hiera allows data separation
○
○
○
○

Data is separate from code logic
Easy task delegation
Single source of truth for data
Ability to collect data from external
sources, but present in a consistent way.
Organization Hiera
● Allows you to use modules directly
from the Forge:
1.
2.
3.
4.
5.

Download the module (or use r10k)
Add data to Hiera
Classify on a node
???
Profit
Organization Roles and Profiles
●
●
●
●
●

Glue between nodes, Hiera, and modules
Avoids “magic” Hiera data
Separate business logic from technology stack
Modules stay generic
Nodes can be classified using one include
Organization Roles and Profiles
● Profiles
○ Configuration of generic modules
○ Business logic on how to utilize modules
○ Examples:
■ apache::dev - Configure apache for dev
hosts, perhaps disable ssl
■ apache::prod - Configure apache for
prod hosts, require ssl
Organization Roles and Profiles
● Roles
○ A collection of profiles
○ A group of modules/profiles that make up a
single server role, for example a WordPress
website
○ Each node should only have a single role
Hour 2
You’ve decided on a version control system,
You’ve decided on a workflow,
You’ve decided on an overall architecture...
Now what?
Setup R10K, Configure NTP, Configure
Minecraft
NTP - A practical Example
Step 1 - Install the module via r10k
Step 2 - Add the key(s) to hiera
Step 3 - Classify the node
DEMO!
Minecraft - A more fun, but
less practical example
Step 1 - Install the module via r10k
Step 2 - Add the key(s) to hiera
Step 3 - Classify the node
DEMO!
Hour 3 Light reading
● R10k
○ http://bit.ly/puppetr10k
● Git Workflow and Dynamic Environments
○ http://bit.ly/puppetgit
● “DevOps. It’s about culture, stupid!”
○ http://slidesha.re/18vbP8U
● Separating Data from Code
○ http://bit.ly/puppetdata
● Beer Finding App (Because you deserve it now)
○ https://untappd.com/
Terri Haber
Professional Services
@baconqurlyq
terri@puppetlabs.com

http://puppetlabs.com

Adam Crews
@1_adam_12
irc: doo
adam@puppetlabs.com
Thank You!
Learn More:
http://puppetlabs.com
http://puppetlabs.com/community
http://puppetlabs.com/puppet/puppet-enterprise

More Related Content

Viewers also liked

Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppetHabeeb Rahman
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetMichael Lessard
 
Managing Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with AnsibleManaging Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with Ansiblefmaccioni
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestrationbcoca
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricksbcoca
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
How Ansible Makes Automation Easy
How Ansible Makes Automation EasyHow Ansible Makes Automation Easy
How Ansible Makes Automation EasyPeter Sankauskas
 
Adopting Kubernetes with Puppet
Adopting Kubernetes with PuppetAdopting Kubernetes with Puppet
Adopting Kubernetes with PuppetPuppet
 

Viewers also liked (8)

Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppet
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with Puppet
 
Managing Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with AnsibleManaging Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with Ansible
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestration
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
How Ansible Makes Automation Easy
How Ansible Makes Automation EasyHow Ansible Makes Automation Easy
How Ansible Makes Automation Easy
 
Adopting Kubernetes with Puppet
Adopting Kubernetes with PuppetAdopting Kubernetes with Puppet
Adopting Kubernetes with Puppet
 

Recently uploaded

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 

Recently uploaded (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 

I've installed Puppet! Now what?

  • 2. Hour 1 You’ve run the puppet installer, You’ve installed agents on your nodes... Now what? Version Control, Workflow, Organization
  • 3. Version Control Have you ever: ● ● ● ● ● ● ● ● ● Made a change to code, realised it was a mistake and wanted to revert? Lost code or had a backup that was too old? Wanted to see the difference between various versions of your code? Wanted to prove that a particular change broke or fixed a piece of code? Wanted to review the history of some code? Wanted to submit a change to someone else's code? Wanted to share your code, or let other people work on your code? Wanted to see how much work is being done, where, when, and by whom? Wanted to experiment with a new feature without interfering with working code?
  • 4. Workflow ● R10K ○ ○ ○ ○ ○ Deployment tool for Puppet Leverages git for quick and reliable updates As many environments as you want Test your code before production Robust error handling
  • 5. Organization Multiple Masters ● Pros ○ Separate out Production from Development ○ Complete separation of all aspects of the environment. ○ Security separation so pre-release code cannot “leak” into production. ○ Upgrade/downgrade components without causing disruption
  • 6. Organization Multiple Masters ● Cons ○ You must ensure you have a good code flow between masters ○ Risk of environment drift between the silos ○ Data is not shared between silos
  • 7. Organization Hiera ● Hiera allows data separation ○ ○ ○ ○ Data is separate from code logic Easy task delegation Single source of truth for data Ability to collect data from external sources, but present in a consistent way.
  • 8. Organization Hiera ● Allows you to use modules directly from the Forge: 1. 2. 3. 4. 5. Download the module (or use r10k) Add data to Hiera Classify on a node ??? Profit
  • 9. Organization Roles and Profiles ● ● ● ● ● Glue between nodes, Hiera, and modules Avoids “magic” Hiera data Separate business logic from technology stack Modules stay generic Nodes can be classified using one include
  • 10. Organization Roles and Profiles ● Profiles ○ Configuration of generic modules ○ Business logic on how to utilize modules ○ Examples: ■ apache::dev - Configure apache for dev hosts, perhaps disable ssl ■ apache::prod - Configure apache for prod hosts, require ssl
  • 11. Organization Roles and Profiles ● Roles ○ A collection of profiles ○ A group of modules/profiles that make up a single server role, for example a WordPress website ○ Each node should only have a single role
  • 12. Hour 2 You’ve decided on a version control system, You’ve decided on a workflow, You’ve decided on an overall architecture... Now what? Setup R10K, Configure NTP, Configure Minecraft
  • 13. NTP - A practical Example Step 1 - Install the module via r10k Step 2 - Add the key(s) to hiera Step 3 - Classify the node DEMO!
  • 14. Minecraft - A more fun, but less practical example Step 1 - Install the module via r10k Step 2 - Add the key(s) to hiera Step 3 - Classify the node DEMO!
  • 15. Hour 3 Light reading ● R10k ○ http://bit.ly/puppetr10k ● Git Workflow and Dynamic Environments ○ http://bit.ly/puppetgit ● “DevOps. It’s about culture, stupid!” ○ http://slidesha.re/18vbP8U ● Separating Data from Code ○ http://bit.ly/puppetdata ● Beer Finding App (Because you deserve it now) ○ https://untappd.com/