From c50508f0b797cbcfc60125e0767e9058693d3ef8 Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Mon, 30 Oct 2017 13:52:20 -0600 Subject: [PATCH] render template files platforms.yml and driver.yml --- .kitchen.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index 22003652e8..a9cc93f2a7 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -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