mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
remove binding
With binding, the rendered template is not returned to stdout (into the template).
This commit is contained in:
parent
209847c8c2
commit
79b8b2d0bf
@ -5,7 +5,7 @@
|
|||||||
<% driverfile = ENV['SALT_KITCHEN_DRIVER'] || '.kitchen/driver.yml' %>
|
<% driverfile = ENV['SALT_KITCHEN_DRIVER'] || '.kitchen/driver.yml' %>
|
||||||
|
|
||||||
<% if File.exists?(driverfile) %>
|
<% if File.exists?(driverfile) %>
|
||||||
<%= ERB.new(File.read(driverfile)).result(binding) %>
|
<%= ERB.new(File.read(driverfile)).result %>
|
||||||
<% else %>
|
<% else %>
|
||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
@ -51,7 +51,7 @@ provisioner:
|
|||||||
- git.salt
|
- git.salt
|
||||||
- kitchen
|
- kitchen
|
||||||
<% if File.exists?(platformsfile) %>
|
<% if File.exists?(platformsfile) %>
|
||||||
<%= ERB.new(File.read(platformsfile)).result(binding) %>
|
<%= ERB.new(File.read(platformsfile)).result %>
|
||||||
<% else %>
|
<% else %>
|
||||||
platforms:
|
platforms:
|
||||||
- name: fedora
|
- name: fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user