render template files platforms.yml and driver.yml

This commit is contained in:
Daniel Wallace 2017-10-30 13:52:20 -06:00
parent 9c1c35a59f
commit c50508f0b7
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) %>
<%= File.read(driverfile) %>
<%= ERB.new(File.read(driverfile)).result(binding) %>
<% else %>
driver:
name: docker
@ -51,7 +51,7 @@ provisioner:
- git.salt
- kitchen
<% if File.exists?(platformsfile) %>
<%= File.read(platformsfile) %>
<%= ERB.new(File.read(platformsfile)).result(binding) %>
<% else %>
platforms:
- name: fedora