anchor.diff:  <% opts.each do |opt| -%>
     <%= opt %>
   <% end -%>
  -<% if postrotate != 'undef' -%>
  +<% if @postrotate != 'undef' -%>
     postrotate
  -    <%= postrotate %>
  +    <%= @postrotate %>
     endscript
   <% end -%>
  -<% if prerotate != 'undef' -%>
  +<% if @prerotate != 'undef' -%>
     prerotate
  -    <%= prerotate %>
  +    <%= @prerotate %>
     endscript
   <% end -%>
  -<% if firstaction != 'undef' -%>
  +<% if @firstaction != 'undef' -%>
     firstaction
  -    <%= firstaction %>
  +    <%= @firstaction %>
     endscript
   <% end -%>
  -<% if lastaction != 'undef' -%>
  +<% if @lastaction != 'undef' -%>
     lastaction
  -    <%= lastaction %>
  +    <%= @lastaction %>
     endscript
   <% end -%>
   }
  
positive.code: <%
    opts = []
  
    if path.kind_of?(Array)
      rpath = path.join(' ')
    else
      rpath = path
    end
  
    if has_variable?('_create')
      if _create == 'create'
        opts << [_create, create_mode, create_owner, create_group].reject { |r|
          r == 'undef'
        }.join(' ')
      else
        opts << _create
      end
    end
  
  
negative.code:     'maxage', 'minsize', 'rotate', 'size', 'shredcycles', 'start',
      'uncompresscmd'
    ].each do |key|
      value = scope.to_hash[key]
      opts << "#{key} #{value}" if value != 'undef'
    end
  -%>
  