Skip to content

Instantly share code, notes, and snippets.

@gdanko
Created November 20, 2014 21:55
Show Gist options
  • Save gdanko/224a2cd42014ffd36a6f to your computer and use it in GitHub Desktop.
Save gdanko/224a2cd42014ffd36a6f to your computer and use it in GitHub Desktop.
# Inside the chef template erb file we can do this:
<%= "[mindadmin]" %>
<% node[:splunk][:roles][:miniadmin].each do |key, value| %>
<%= "#{key} = #{value}" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment