HIera Debugging Tool

45 views
Skip to first unread message

Lee Lowder

unread,
Nov 4, 2014, 8:23:15 AM11/4/14
to puppet...@googlegroups.com
All,

I've been working on a Hiera debugging tool, and it's now at the point where I consider it to be a "minimally viable product".

Currently it will work with Puppet Enterprise and Open Source Puppet, and you can supply identity for nodes by supplying YAML, JSON or a user (which will be used to get data from MCollective).

When invoked, it will give you a list of all hiera(), hiera_array() and hiera_hash() calls and as of recently, also will do a lookup on all class params. These look ups will be done for every node the master is aware of.

The current version is 0.2.1, and is available at https://github.com/llowder/glowing-octo-ninja

The next set of features I am considering adding are:

 - Ability to look up the value of a single key across all nodes
 - Ability to lookup the value of all keys for a specific node

I'll be adding both, but I wanted to see which would be considered more useful so I know which to add first. I'll be working on improving performance, error handling and unit/regression tests.

Comments and suggestions are much welcome, and hopefully this will be a useful tool.

 - Lee

Mike Skint

unread,
Nov 6, 2014, 12:13:16 PM11/6/14
to puppet...@googlegroups.com
Nice stuff Lee,

giving it a look now.
Reply all
Reply to author
Forward
0 new messages