Sha256: 616f855cec4e8a2a8cb6584e83e3f26056f03b77666a9b3113b96b7fe28f6c8a

Contents?: true

Size: 305 Bytes

Versions: 161

Compression:

Stored size: 305 Bytes

Contents

<%# Generate Ohai Hints -%>
<% unless @chef_config[:knife][:hints].nil? || @chef_config[:knife][:hints].empty? -%>
mkdir -p /etc/chef/ohai/hints
<% end -%>

<% @chef_config[:knife][:hints].each do |name, hash| -%>
(
cat <<'EOP'
<%= hash.to_json %>
EOP
) > /etc/chef/ohai/hints/<%= name %>.json
<% end -%>

Version data entries

161 entries across 161 versions & 2 rubygems

Version Path
chef-10.34.6-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-10.34.6 spec/data/bootstrap/test-hints.erb
chef-11.16.4-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-11.16.4 spec/data/bootstrap/test-hints.erb
chef-10.34.4 spec/data/bootstrap/test-hints.erb
chef-10.34.4-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-11.16.2-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-11.16.2 spec/data/bootstrap/test-hints.erb
chef-12.0.0.alpha.2-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-12.0.0.alpha.2 spec/data/bootstrap/test-hints.erb
chef-11.16.0-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-11.16.0 spec/data/bootstrap/test-hints.erb
chef-11.16.0.rc.0 spec/data/bootstrap/test-hints.erb
chef-10.34.2-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-10.34.2 spec/data/bootstrap/test-hints.erb
chef-12.0.0.alpha.1-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-12.0.0.alpha.1 spec/data/bootstrap/test-hints.erb
chef-10.34.0-x86-mingw32 spec/data/bootstrap/test-hints.erb
chef-10.34.0 spec/data/bootstrap/test-hints.erb
chef-11.14.6-x86-mingw32 spec/data/bootstrap/test-hints.erb