Hi,

Excited to announce that I have released puppet-deubugger version 0.6.0.  It 
has been a while since my last release announcement despite many new releases. 
Additionally, I also renamed this project from puppet-repl to puppet-debugger 
since it reflected more on the capabilities of the project.  Announce most 
people don’t know what a REPL is but do understand what a debugger is.

With the new debugger name also brings a new puppet application called 
‘debugger’.  This uses the application face base to allow for many additionally 
features that get inherited using the face.  See puppet debugger -h for a few 
examples.  One of my favorite features is the integration with facterdb 
(https://github.com/camptocamp/facterdb 
<https://github.com/camptocamp/facterdb>) that allows me to pretend I am on a 
different os.  Ever wondered how you can play with the facts of a windows 
system?

puppet debugger --facterdb-filter 'operatingsystem=windows’ 

or how about AIX

puppet debugger --facterdb-filter 'kernel=AIX’


This release brings in two new features:
  — listing all the available datatypes
  — listing all the available types

These two little features will save you time from having to look them up in the 
module and puppet documentation. You can even use tab completion for the 
datatype.

Btw,  did you know the puppetlabs-stdlib module comes with several new 
datatypes that are extremely useful?


Web debugger example of new features 

https://www.puppet-debugger.com/play?url=https://gist.github.com/logicminds/b9307a71ab9f38db178ff420ba9c7a5d
 
<https://puppet-debugger.com/play?url=https://gist.github.com/logicminds/b9307a71ab9f38db178ff420ba9c7a5d>


As the puppet 4 language becomes the norm the ability to test little snippets 
of code quickly via the debugger is extremely valuable. If you are still doing 
this with puppet apply you should try the debugger and gain a realtime feedback 
loop.  Playing with structured facts with the debugger is really easy and fun.  
The debugger will help you learn the puppet language faster and with all the 
new awesome features in Puppet 4 you have much to learn.

If you like this project, put a star on it.

Puppet-debugger on github:
    https://github.com/nwops/puppet-debugger 
<https://github.com/nwops/puppet-debugger>

Puppet debugger web based version (limited capability)
    https://www.puppet-debugger.com <https://www.puppet-debugger.com/>

Install on your machine:
  gem install puppet-debugger

Supports puppet 3.8+

Use emacs?  Check out this puppet-debugger integration:  
https://github.com/voxpupuli/puppet-mode 
<https://github.com/voxpupuli/puppet-mode>

enjoy,

Corey Osman
NWOps


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3320D87B-7B94-4195-9E2A-F41C55B5AD60%40nwops.io.
For more options, visit https://groups.google.com/d/optout.

Reply via email to