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

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

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/