# Generated by Chef for <%= node['fqdn'] %>
<% @path.each do |p| -%>
<%= p %> {
  <%= @frequency %>
<%- if @size %>
  size <%= @size %>
<%- end %>
<%- if @minsize %>
  minsize <%= @minsize %>
<%- end %>
  rotate <%= @rotate %>
<%- if @create %>
  create <%= @create %>
<%- end %>
<%- if @olddir %>
  olddir <%= @olddir %>
<%- end %>
<% @options.each do |o| -%>
  <%= o %>
<% end -%>
<%- if @sharedscripts %>
  sharedscripts
<%- end %>
<%- if @postrotate %>
  postrotate
<%= @postrotate %>
  endscript
<%- end %>
<%- if @prerotate %>
  prerotate
<%= @prerotate %>
  endscript
<%- end %>
<%- if @firstaction %>
  firstaction
<%= @firstaction %>
  endscript
<%- end %>
<%- if @lastaction %>
  lastaction
<%= @lastaction %>
  endscript
<%- end %>
}
<%- end %>

# Generated by Chef for <%= node['fqdn'] %>
<% @path.each do |p| -%>
<%= p %> {
<%- if @frequency %>
  <%= @frequency %>
<%- end %>
<%- if @size %>
  size <%= @size %>
<%- end %>
<%- if @minsize %>
  minsize <%= @minsize %>
<%- end %>
<%- if @rotate %>
  rotate <%= @rotate %>
<%- end %>
<%- if @create %>
  create <%= @create %>
<%- end %>
<%- if @olddir %>
  olddir <%= @olddir %>
<%- end %>
<% @options.each do |o| -%>
  <%= o %>
<% end -%>
<%- if @sharedscripts %>
  sharedscripts
<%- end %>
<%- if @postrotate %>
  postrotate
<%= @postrotate %>
  endscript
<%- end %>
<%- if @prerotate %>
  prerotate
<%= @prerotate %>
  endscript
<%- end %>
<%- if @firstaction %>
  firstaction
<%= @firstaction %>
  endscript
<%- end %>
<%- if @lastaction %>
  lastaction
<%= @lastaction %>
  endscript
<%- end %>
}
<%- end %>

Add frequency and rotate options
Add frequency and rotate options

Signed-off-by: Seth Vargo <81550dbf04dfd8537ff7b3c014c6fbf86e0889dc@gmail.com>
