Reese Knowledgebase

Using puppet-classify to interface with the classifier service

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 168
by: Reese K.
Posted: 25 Oct, 2015
Last updated: 30 Oct, 2015
Views: 893

I've been looking for an opportunity to share something with the Puppet Community and I think I found it in puppet-classify and how I'm using it along with MongoDB to manage classifications in a Puppet Enterprise deployment.

The approach I've taken is to backup and store our Puppet Classifications into MongoDB.  That way, in the event of a rebuild, we can easily reimport all of our classifications.  Where this approach has additional value is in tear down environment such as Vagrant.  Puppet module developers can use Vagrant to deploy their own local puppetmaster and tear it down/rebuild it as often as they like since they can store their classifications in MongoDB and import them with ease.  Anytime a developer wants to save off a classification, they can easily export to MongoDB for later retrieval or sharing with a co-worker.

Check it out on my github.  This is my first ruby script

This article was:   Helpful | Not Helpful
Also listed in
folder MongoDB

Prev   Next
Scripting     Error 400 on SERVER: Could not find class puppet_enterprise

RSS