SlideShare una empresa de Scribd logo
1 de 14
The Story of Dashboard 2.0
Aaron Stone – @sodabrew
BrightRoll – online video advertising
PuppetConf – August 23, 2013
Agenda
● An introductory digression on open source
● What's new in Dashboard 2.0?
● Wait, what's Dashboard again?
● Should you install this in the first place?
● What's the upgrade path for now?
● Roadmap going forward
Get Involved in
Open Source Projects
● Be kind.
● Be helpful.
● Code is key.
– Don't demand that someone else write code to solve your use case.
● Be appreciative.
– If someone else is inspired by your bug/request and writes the code, thank them
publicly!
● Accept critique gracefully.
– Sometimes this means adjusting or even rewriting your code submission.
– Especially on GitHub, you may be asked to rebase your work several times!
● Be direct and factual.
– “I disagree with X, because of Y. Facts Q and R suggest that X is not the best
approach. I suggest Z as an alternative.”
What's New in Dashboard 2.0
● Updated to Rails 3.2 along with many gem updates
– Up to date will_paginate, inherited_resources, etc.
– Uses Bundler to manage gem dependencies
● Runs on both Ruby 1.8.7 and 1.9.3
● Improved REST API access
● Bug fixes and UI tweaks
● Ongoing maintenance outside of Puppet Labs
Wait, What's Dashboard Again?
● Puppet Dashboard is a web application that provides
both External Node Classification and Report
Processing.
● It is a component of Puppet Enterprise.
● Looks like this...
Slide with Dashboard Screenshot
What's an External Node Classifier?
● An ENC is a script that is executed early in the Catalog
generation process.
● The first argument is the hostname of the machine to be
configured.
● The output is a YAML document with a set of key-value
variables and a list of manifest classes to include in the host's
catalog.
– The variables are accessible as top-level variables in your
manifests, e.g. $::thing_from_the_enc
– The classes can be parameterized from the ENC.
Dashboard as ENC
● Introduces an entirely new concept of Groups.
● Hosts are members of groups.
● Groups assign variables and classes.
● Groups can be linked for inheritance and override of
variables and classes.
Dashboard for Reports
● Great way to view repots, show general health of
your Puppet usage, drill down into problems.
● Also the Achilles' heel of Dashboard.
● The SQL reports schema is really not good.
● Two keys to making it work:
– innodb_file_per_table
– Frequent pruning of old reports
Should you install Dashboard today?
● Well, maybe.
● Yep that's all.
Upgrading Dashboard 1.2 to 2.0
● Actually not painful!
● Get your favorite Ruby and the Bundler gem
git clone git@github.com:sodabrew/puppet-dashboard
cd puppet-dashboard
bundle install --path vendor/bundle
[copy over your config and database yaml]
bundle exec rake db:migrate
bundle exec rails server
[should work!]
What's Replacing Dashboard?
● Node Classification is moving towards Hiera
– At the moment I don't see a good point of integration
with Hiera – use one or the other.
● Report processing is moving to PuppetDB
– PuppetDB provides an API for retrieving reports, going
forward Dashboard will use this API.
What's next for Dashboard?
● Begin using PuppetDB as a backend for reports.
● Continue tracking Rails security releases.
● Aim for Ruby 2.0 support.
● Migration tools
– Because you might want to ditch dashboard, and that
should be less painful.
● More features! Pull requests welcome!
Thanks!
Aaron Stone – @sodabrew
BrightRoll – online video advertising
PuppetConf – August 23, 2013

Más contenido relacionado

Más de Puppet

Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
Puppet
 
Take control of your DevOps Dumping Ground; Melissa Sussmann
Take control of your DevOps Dumping Ground; Melissa SussmannTake control of your DevOps Dumping Ground; Melissa Sussmann
Take control of your DevOps Dumping Ground; Melissa Sussmann
Puppet
 

Más de Puppet (20)

Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
 
Keynote: Puppet camp compliance
Keynote: Puppet camp complianceKeynote: Puppet camp compliance
Keynote: Puppet camp compliance
 
Automating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNowAutomating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNow
 
Puppet: The best way to harden Windows
Puppet: The best way to harden WindowsPuppet: The best way to harden Windows
Puppet: The best way to harden Windows
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020
 
Accelerating azure adoption with puppet
Accelerating azure adoption with puppetAccelerating azure adoption with puppet
Accelerating azure adoption with puppet
 
Puppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael PinsonPuppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael Pinson
 
ServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin ReeuwijkServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin Reeuwijk
 
Take control of your dev ops dumping ground
Take control of your  dev ops dumping groundTake control of your  dev ops dumping ground
Take control of your dev ops dumping ground
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software
 
Puppet User Group
Puppet User GroupPuppet User Group
Puppet User Group
 
Continuous Compliance and DevSecOps
Continuous Compliance and DevSecOpsContinuous Compliance and DevSecOps
Continuous Compliance and DevSecOps
 
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick MaludyThe Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
 
ServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin ReeuwijkServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin Reeuwijk
 
Puppet in k8s, Miroslav Hadzhiev
Puppet in k8s, Miroslav HadzhievPuppet in k8s, Miroslav Hadzhiev
Puppet in k8s, Miroslav Hadzhiev
 
Bolt on Windows - James Pogran
Bolt on Windows - James PogranBolt on Windows - James Pogran
Bolt on Windows - James Pogran
 
The Business Value of Modernizing your Windows Infrastructure and Bringing Li...
The Business Value of Modernizing your Windows Infrastructure and Bringing Li...The Business Value of Modernizing your Windows Infrastructure and Bringing Li...
The Business Value of Modernizing your Windows Infrastructure and Bringing Li...
 
Manage your Windows Infrastructure with Puppet Bolt - August 26 - 2020
Manage your Windows Infrastructure with Puppet Bolt - August 26 - 2020Manage your Windows Infrastructure with Puppet Bolt - August 26 - 2020
Manage your Windows Infrastructure with Puppet Bolt - August 26 - 2020
 
Navigating the new normal with self healing infrastructure automation
Navigating the new normal with self healing infrastructure automationNavigating the new normal with self healing infrastructure automation
Navigating the new normal with self healing infrastructure automation
 
Take control of your DevOps Dumping Ground; Melissa Sussmann
Take control of your DevOps Dumping Ground; Melissa SussmannTake control of your DevOps Dumping Ground; Melissa Sussmann
Take control of your DevOps Dumping Ground; Melissa Sussmann
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

The Story of Dashboard 2.0

  • 1. The Story of Dashboard 2.0 Aaron Stone – @sodabrew BrightRoll – online video advertising PuppetConf – August 23, 2013
  • 2. Agenda ● An introductory digression on open source ● What's new in Dashboard 2.0? ● Wait, what's Dashboard again? ● Should you install this in the first place? ● What's the upgrade path for now? ● Roadmap going forward
  • 3. Get Involved in Open Source Projects ● Be kind. ● Be helpful. ● Code is key. – Don't demand that someone else write code to solve your use case. ● Be appreciative. – If someone else is inspired by your bug/request and writes the code, thank them publicly! ● Accept critique gracefully. – Sometimes this means adjusting or even rewriting your code submission. – Especially on GitHub, you may be asked to rebase your work several times! ● Be direct and factual. – “I disagree with X, because of Y. Facts Q and R suggest that X is not the best approach. I suggest Z as an alternative.”
  • 4. What's New in Dashboard 2.0 ● Updated to Rails 3.2 along with many gem updates – Up to date will_paginate, inherited_resources, etc. – Uses Bundler to manage gem dependencies ● Runs on both Ruby 1.8.7 and 1.9.3 ● Improved REST API access ● Bug fixes and UI tweaks ● Ongoing maintenance outside of Puppet Labs
  • 5. Wait, What's Dashboard Again? ● Puppet Dashboard is a web application that provides both External Node Classification and Report Processing. ● It is a component of Puppet Enterprise. ● Looks like this...
  • 6. Slide with Dashboard Screenshot
  • 7. What's an External Node Classifier? ● An ENC is a script that is executed early in the Catalog generation process. ● The first argument is the hostname of the machine to be configured. ● The output is a YAML document with a set of key-value variables and a list of manifest classes to include in the host's catalog. – The variables are accessible as top-level variables in your manifests, e.g. $::thing_from_the_enc – The classes can be parameterized from the ENC.
  • 8. Dashboard as ENC ● Introduces an entirely new concept of Groups. ● Hosts are members of groups. ● Groups assign variables and classes. ● Groups can be linked for inheritance and override of variables and classes.
  • 9. Dashboard for Reports ● Great way to view repots, show general health of your Puppet usage, drill down into problems. ● Also the Achilles' heel of Dashboard. ● The SQL reports schema is really not good. ● Two keys to making it work: – innodb_file_per_table – Frequent pruning of old reports
  • 10. Should you install Dashboard today? ● Well, maybe. ● Yep that's all.
  • 11. Upgrading Dashboard 1.2 to 2.0 ● Actually not painful! ● Get your favorite Ruby and the Bundler gem git clone git@github.com:sodabrew/puppet-dashboard cd puppet-dashboard bundle install --path vendor/bundle [copy over your config and database yaml] bundle exec rake db:migrate bundle exec rails server [should work!]
  • 12. What's Replacing Dashboard? ● Node Classification is moving towards Hiera – At the moment I don't see a good point of integration with Hiera – use one or the other. ● Report processing is moving to PuppetDB – PuppetDB provides an API for retrieving reports, going forward Dashboard will use this API.
  • 13. What's next for Dashboard? ● Begin using PuppetDB as a backend for reports. ● Continue tracking Rails security releases. ● Aim for Ruby 2.0 support. ● Migration tools – Because you might want to ditch dashboard, and that should be less painful. ● More features! Pull requests welcome!
  • 14. Thanks! Aaron Stone – @sodabrew BrightRoll – online video advertising PuppetConf – August 23, 2013