Hi All,

I've started with Puppet recently. So maybe it is a simple problem, but could not find out up to now the solution. I just want to print out the debug/log message in client report.
The only way I found is to use notify for this purpose like:

class repo  {
  notify {"The log message":}
}

In client report I see this:

info: Applying configuration version '1322212343'
notice: The log message
notice: /Stage[main]/Repo/Notify[The log message]/message: defined 'message' as 'The log message'

So I understand that notify does a bit more than just printing the message. What I would like to have only one line in report:

notice: The log message

So I don't care whether it should have notice or info level, but I just want to have my message printed like it is done in other languages with echo, print, cout etc. Thank you for any hints.

Best regards,

Pavel

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to