I'm trying to add support for logging to Scribe. I *think* what I need
to do is the following:

* Add a "feature" that checks if the scribe gem is installed. (add a
file lib/puppet/feature/scribe.rb)
* Add configuration options for the scribe server, port, and category.
* Create a new Puppet::Util::Log.newdesttype block in
lib/puppet/util/log/destinations.rb

I am having trouble understanding a couple of things here, hoping for some help.

1) How do I add configuration options and access them in the
destination type declaration?
2) How do I connect the "feature" to the code declaring the
destination? I think I do something like: if Puppet.features.scribe? -
is there more to it than that?
3) Is there somewhere else I need to hook into to make this work?

Thanks for the help.

--Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to