summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdo Waechter <root@zoide.net>2016-06-16 18:08:15 +0200
committerGitHub <noreply@github.com>2016-06-16 18:08:15 +0200
commitf6b66e763656c07696f98993896cf05d30d27291 (patch)
tree215b022f525b11d89a34f3d700565bc37595d601
parent0e604ec8ca6473c3cc9041dcc0a72d7a26d851d4 (diff)
fixed variable references
-rw-r--r--templates/fragment_runner_config.toml.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/fragment_runner_config.toml.erb b/templates/fragment_runner_config.toml.erb
index 092e37d..df11d4a 100644
--- a/templates/fragment_runner_config.toml.erb
+++ b/templates/fragment_runner_config.toml.erb
@@ -34,7 +34,7 @@
<% if @tls_ca_file -%>
tls_ca_file = "<%= @tls_ca_file %>"
<% end -%>
-<% if executor == 'docker' -%>
+<% if @executor == 'docker' -%>
[runners.docker]
<%- if @docker_params['host'] -%>
host = "<%= @docker_params['host'] %>"
@@ -71,7 +71,7 @@
privileged = <%= @docker_params['privileged'] %>
volumes = <%= @docker_params['volumes'] %>
<% end -%>
-<% if executor == 'parallels' -%>
+<% if @executor == 'parallels' -%>
[runners.parallels]
<%- if @parallels_params['base_name'] -%>
base_name = "<%= @docker_params['base_name'] %>"
@@ -83,7 +83,7 @@
disable_snapshots = <%= @parallels_params['disable_snapshots'] %>
<%- end -%>
<%- end -%>
-<% if executor == 'ssh' -%>
+<% if @executor == 'ssh' -%>
[runners.ssh]
<%- if @ssh_params['host'] -%>
host = "<%= @ssh_params['host'] %>"