> Functions get executed at compile time on the master, you'll probably see
> logs there.
> 
> To log on the client do:
> 
> notify{"hw_type=${hw_type}": }

I see it in the puppet master's log:

Sep 13 13:27:32 myserver puppetmasterd[6650]:
(Scope(Class[server_management])) hw_type=virtual
Sep 13 13:27:32 myserver puppetmasterd[6650]:
(Scope(Class[server_management])) this is a virtual system

Thanks for the tip on client logging, that's what I was looking for.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

Reply via email to