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.
↧