Issue #6522 has been updated by donavan m.
Nigel Kersten wrote: > donovan, is this really a dupe of #4248 ? Happy to re-open if not. It's been a while since Ive looked at it. IIRC I opened this specifically to try and split #4248 in to two features, see comments 19 & 20. #4248 being about autoloading files from the expected paths. #6522 is for Puppet::Util::Log (and other) endpoints where Puppet::Util::Autoload isn't called at all. IMO they're related but independent units of work. ---------------------------------------- Feature #6522: Enable additional destinations & termini via plugins https://projects.puppetlabs.com/issues/6522 Author: donavan m Status: Duplicate Priority: Normal Assignee: donavan m Category: Target version: Affected Puppet version: Keywords: Branch: I'd like to add new destinations for Puppet::Util::Log. Currently this can all be done by modifying 'puppet/util/log/destinations.rb'. I only see Puppet::Util::Autoload.new instances for plugins in puppet/type, puppet/provider, puppet/parser/functions, & puppet/feature (?). Also mentioned in puppet-dev thread 'Adding a Scribe log destination'[1] & #4248 My particular case is to add a new destination like: <pre> Puppet::Util::Log.newdesttype :json do def handle(msg) message = {} msg.instance_variables.each {|v| message[v.sub("@","")] = msg.instance_variable_get(v) } puts message.to_pson end end </pre> [1] http://groups.google.com/group/puppet-dev/browse_thread/thread/e50eccaf00375e72 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
