mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Merge pull request #44342 from gtmanfred/2016kitchen
render template files platforms.yml and driver.yml
This commit is contained in:
commit
209847c8c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user