Skip to content

Commit

Permalink
e2e: ConsulTemplate test should exercise interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Oct 22, 2020
1 parent e74b880 commit 2bd72e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/consultemplate/input/templating.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ job "templating" {
server {{ .Name }} {{ .Address }}:{{ .Port }}{{ end }}
EOT

destination = "local/services.conf"
destination = "${NOMAD_TASK_DIR}/services.conf"
change_mode = "noop"
}

Expand All @@ -35,7 +35,7 @@ key: {{ key "consultemplatetest" }}
job: {{ env "NOMAD_JOB_NAME" }}
EOT

destination = "local/kv.yml"
destination = "${NOMAD_TASK_DIR}/kv.yml"
change_mode = "restart"
}

Expand Down Expand Up @@ -63,7 +63,7 @@ EOT
server {{ .Name }} {{ .Address }}:{{ .Port }}{{ end }}
EOT

destination = "local/services.conf"
destination = "${NOMAD_TASK_DIR}/services.conf"
change_mode = "noop"
}

Expand All @@ -73,7 +73,7 @@ EOT
key: {{ key "consultemplatetest" }}
job: {{ env "NOMAD_JOB_NAME" }}
EOT
destination = "local/kv.yml"
destination = "${NOMAD_TASK_DIR}/kv.yml"
change_mode = "restart"
}

Expand Down

0 comments on commit 2bd72e6

Please sign in to comment.