diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-12-10 14:57:03 -0800 |
|---|---|---|
| committer | Jesse Wolfe <jes5199@gmail.com> | 2010-12-10 14:57:03 -0800 |
| commit | 6e997e819f315d2868de9f3de8ab95c7f6ce8d51 (patch) | |
| tree | 2232c9688eeed1bc49fd3c151a883b39db0ba90d /lib/puppet/util | |
| parent | 56c91fb2accc7c6e53ab8d3c0c60812674c1676a (diff) | |
| parent | f38c36c63d6404536e075ce03c3d93e0b2f0a731 (diff) | |
| download | puppet-6e997e819f315d2868de9f3de8ab95c7f6ce8d51.tar.gz puppet-6e997e819f315d2868de9f3de8ab95c7f6ce8d51.tar.xz puppet-6e997e819f315d2868de9f3de8ab95c7f6ce8d51.zip | |
Merge branch 'ticket/2.6.next/5408' into 2.6.next
Diffstat (limited to 'lib/puppet/util')
| -rw-r--r-- | lib/puppet/util/log.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/puppet/util/log.rb b/lib/puppet/util/log.rb index 36a765c61..7764dc1d1 100644 --- a/lib/puppet/util/log.rb +++ b/lib/puppet/util/log.rb @@ -17,11 +17,12 @@ class Puppet::Util::Log # Create a new destination type. def self.newdesttype(name, options = {}, &block) - dest = genclass( - name, :parent => Puppet::Util::Log::Destination, :prefix => "Dest", - :block => block, - :hash => @desttypes, - + dest = genclass( + name, + :parent => Puppet::Util::Log::Destination, + :prefix => "Dest", + :block => block, + :hash => @desttypes, :attributes => options ) dest.match(dest.name) |
