2015-02-14 21:32:16 +00:00
|
|
|
<% if node_name %>
|
|
|
|
node_name "<%= node_name %>"
|
|
|
|
<% end %>
|
|
|
|
file_cache_path "<%= file_cache_path %>"
|
|
|
|
file_backup_path "<%= file_backup_path %>"
|
|
|
|
cookbook_path <%= cookbooks_path.inspect %>
|
|
|
|
<% if roles_path %>
|
|
|
|
role_path <%= roles_path.size == 1 ? roles_path.first.inspect : roles_path.inspect %>
|
|
|
|
<% end %>
|
|
|
|
log_level <%= log_level.inspect %>
|
|
|
|
verbose_logging <%= verbose_logging.inspect %>
|
2015-02-15 08:43:37 +00:00
|
|
|
<% if !enable_reporting %>
|
2015-02-14 21:32:16 +00:00
|
|
|
enable_reporting <%= enable_reporting.inspect %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
encrypted_data_bag_secret <%= encrypted_data_bag_secret.inspect %>
|
|
|
|
|
|
|
|
<% if data_bags_path -%>
|
|
|
|
data_bag_path <%= data_bags_path.inspect %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if environments_path %>
|
|
|
|
environment_path <%= environments_path.inspect %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% if environment %>
|
|
|
|
environment "<%= environment %>"
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% if local_mode -%>
|
|
|
|
chef_zero.enabled true
|
|
|
|
local_mode true
|
|
|
|
<% end -%>
|
2015-07-28 16:41:51 +00:00
|
|
|
<% if nodes_path -%>
|
|
|
|
node_path <%= nodes_path.inspect %>
|
2015-02-14 21:32:16 +00:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% if formatter %>
|
|
|
|
add_formatter "<%= formatter %>"
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if custom_configuration -%>
|
|
|
|
Chef::Config.from_file "<%= custom_configuration %>"
|
|
|
|
<% end -%>
|