YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

What's New in PuppetDB

Nick [email protected]@nick_lewis

Page 2: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

What's Old in PuppetDB?

Page 3: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service

Page 4: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service

Page 5: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service● Catalogs and facts

Page 6: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service● Catalogs and facts● Focused on performance and correctness

Page 7: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service● Catalogs and facts● Focused on performance and correctness

○ Written in Clojure on the JVM

Page 8: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service● Catalogs and facts● Focused on performance and correctness

○ Written in Clojure on the JVM○ Backed by PostgreSQL

Page 9: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0

● Open-source data storage service● Replacement for ActiveRecord storeconfigs and

inventory service● Catalogs and facts● Focused on performance and correctness

○ Written in Clojure on the JVM○ Backed by PostgreSQL○ Internal ActiveMQ provides asynchrony

Page 10: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

Page 11: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

1) Puppet sends facts to PuppetDB

Puppetmaster PuppetDB

Facts

Page 12: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

2) Puppet collects resources from PuppetDB

PuppetDBPuppetmaster

Resources

Page 13: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

1) Puppet sends catalog to PuppetDB

Puppetmaster PuppetDB

Catalog

Page 14: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

4) PuppetDB has all the data!

Puppetmaster PuppetDB

CatalogFactsCatalogFacts

Page 15: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

5) Nick gives a talk about how great all that data is

data data data

PuppetDB yay

Nick

Page 16: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

6) You get inspired and try to use the data

PuppetDB

CatalogFactsCatalogFacts

You

Page 17: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

7) You give up and ask for help

You Internet user

datafactsdata

data?

Page 18: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

8) Sorry, what you want is impossible now, maybe later

You Internet user

datafactsdata

February?

Page 19: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB 1.0 data lifecycle

A tragedy in eight steps

You Internet user

datafactsdata

February?

Page 20: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB probably-1.1-but-maybe-2.0

● Open-source data retrieval service

Page 21: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB probably-1.1-but-maybe-2.0

● Query API v2○ Any query you can imagine○ Almost everything is one query○ Regular expressions○ Tested on real users

Page 22: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB probably-1.1-but-maybe-2.0

● Storage of reports (experimental)○ Just another Puppet report processor○ Configurable data retention period○ Also queryable, but not as much yet

Page 23: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB probably-1.1-but-maybe-2.0

● Storage of reports (experimental)○ Just another Puppet report processor○ Configurable data retention period○ Also queryable, but not as much yet

Page 24: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

PuppetDB probably-1.1-but-maybe-2.0

● Exporable, RESTful API○ Data should be fun○ Perfect for answering simple questions○ Great for making charts○ Plays well with jgrep

Page 25: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

● links.puppetlabs.com/puppetdb-trello● github.com/puppetlabs/puppetdb

What's coming up?

Page 26: PuppetCamp SEA @ Blk 71 - What's New in Puppet DB

Nick [email protected]@nick_lewis

Thank You

Questions?


Related Documents