Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
add a functional example template
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bresson committed Dec 4, 2016
1 parent 9fc9e85 commit 1da7891
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/templates/echo.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
job "<%= @foo %>" {
type = "batch"
datacenters = [ "dc1" ]
group "<%= @foo %>" {
count = 1
task "echo" {
driver = "exec"
config {
command = "echo"
args = ["<%= @foo %>"]
}
}
}
}

0 comments on commit 1da7891

Please sign in to comment.