Fix Chef Solo template

This commit is contained in:
Seth Vargo 2014-12-14 22:22:12 -05:00
parent 09a5d15045
commit 2c05a4e9e7
1 changed files with 1 additions and 5 deletions

View File

@ -5,11 +5,7 @@ file_cache_path "<%= file_cache_path %>"
file_backup_path "<%= file_backup_path %>" file_backup_path "<%= file_backup_path %>"
cookbook_path <%= cookbooks_path.inspect %> cookbook_path <%= cookbooks_path.inspect %>
<% if roles_path %> <% if roles_path %>
if Chef::VERSION.to_f < 11.8 role_path <%= roles_path.size == 1 ? roles_path.first.inspect : roles_path.inspect %>
role_path <%= roles_path.first.inspect %>
else
role_path <%= roles_path.inspect %>
end
<% end %> <% end %>
log_level <%= log_level.inspect %> log_level <%= log_level.inspect %>
verbose_logging <%= verbose_logging.inspect %> verbose_logging <%= verbose_logging.inspect %>