How do I use vault items in templates?
<p>I'm learning chef.</p>

<p>I have this recipe:</p>

<pre><code>chef_gem 'chef-vault' do
  compile_time true if respond_to?(:compile_time)
end

require 'chef-vault'

vault = ChefVault::Item.load("vault01", "vaultitem1")

log 'DEBUG' do
  message vault['myuser']
  level :info
end

directory 'c:/blah'

template 'c:/blah/template.txt' do
  source 'template.txt.erb'
end
</code></pre>

<p>You can see I'm getting the value out of the vault in the recipe.</p>

<p>How should I insert these values into my template file?</p>

<p>Is there a way I can get the vault vaules from inside of my template.txt.erb?</p>