Weidong Shao 486c596323 Replace cookbooks for IceHouse release
Change-Id: Ibb6bdd3ed7795b86f773f9cb6ce1dfffb9b79faf
2014-08-07 08:36:02 +00:00

30 lines
638 B
Plaintext

# This file was generated by Chef for <%= node['fqdn'] %>.
# Do not modify this file by hand!
<% @configuration.directives.each do |d| -%>
<%= d %>
<% end -%>
<% @configuration.values.each do |k, v| -%>
<%= k %> <%= v %>
<% end -%>
include /etc/logrotate.d
<% @configuration.paths.each do |path, path_config| -%>
<%= path %> {
<% path_config['directives'].each do |d|-%>
<%= d %>
<% end -%>
<% path_config['values'].each do | k, v | -%>
<%= k %> <%= v %>
<% end -%>
<% path_config['scripts'].each do | scripttype, body | -%>
<%= scripttype %>
<%= body %>
endscript
<% end -%>
}
<% end -%>