| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 # Puppet: Class['<%= @title %>'] | 
|  | 2 <label <%= scope.lookupvar('adblockplus::log::name') %>> | 
|  | 3   <match **> | 
|  | 4 | 
|  | 5     # http://docs.fluentd.org/articles/out_forward | 
|  | 6     @type forward | 
|  | 7 | 
|  | 8     <server> | 
|  | 9       name adblockplus-log-master | 
|  | 10       host <%= @host %> | 
|  | 11       port <%= @port %> | 
|  | 12     </server> | 
|  | 13 | 
|  | 14     # http://docs.fluentd.org/articles/buf_file | 
|  | 15     buffer_type file | 
|  | 16     buffer_path  /var/run/<%= scope.lookupvar('adblockplus::log::agent') %>/forw
    arder.* | 
|  | 17 | 
|  | 18     # http://docs.fluentd.org/articles/out_file | 
|  | 19     <secondary> | 
|  | 20       @type file | 
|  | 21       append | 
|  | 22       flush_at_shutdown | 
|  | 23       path /var/log/<%= scope.lookupvar('adblockplus::log::agent') %>/rejected | 
|  | 24       time_slice_format %Y%m%d | 
|  | 25       utc | 
|  | 26     </secondary> | 
|  | 27 | 
|  | 28   </match> | 
|  | 29 </label> | 
|  | 30 | 
| OLD | NEW | 
|---|