remove binding

With binding, the rendered template is not returned to stdout (into the template).
This commit is contained in:
Daniel Wallace 2017-10-30 14:45:07 -06:00
parent 209847c8c2
commit 79b8b2d0bf
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48

View File

@ -5,7 +5,7 @@
<% driverfile = ENV['SALT_KITCHEN_DRIVER'] || '.kitchen/driver.yml' %>
<% if File.exists?(driverfile) %>
<%= ERB.new(File.read(driverfile)).result(binding) %>
<%= ERB.new(File.read(driverfile)).result %>
<% else %>
driver:
name: docker
@ -51,7 +51,7 @@ provisioner:
- git.salt
- kitchen
<% if File.exists?(platformsfile) %>
<%= ERB.new(File.read(platformsfile)).result(binding) %>
<%= ERB.new(File.read(platformsfile)).result %>
<% else %>
platforms:
- name: fedora