Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Debug in Custom Function

$
0
0
I have a custom function that doesn't seem to output any debug messages. I can run puppet agent -t --debug but nothing comes up. I do get other debug messages though. Here's my custom function: module Puppet::Parser::Functions newfunction(:passsec_base, :type => :rvalue) do |*args| Puppet.debug('start passsec base') end end I've also done debug ('start passec base') but it just doesn't seem to output anywhere. This is on my client and I initiate runs from the client. If use puts 'start passsec base', I'll get a log output but I would really like to use the debug method if it's possible.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>