Hi all,
I have a question about how to log information to the server when access to
a tags
I have 2 class
*class a {
log_info (''/tmp/test.txt'', "class a")
}
class b {
log_info (''/tmp/test.txt'', "class b")
}
node default {
include a
include b
}*
log_info() is a custom function. It logs informations on the server machine.
When i run command from puppet-client with *--tags a* . It will log both
"class a" and "class b" to the log file
As i understand, when i call puppetd, client will load all tags of manifest.
So that it logs all information in all tags
Can i log only information from tag, which i have called (example tag a)?
Thank in advance
Best regards,
TungDH
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---