From 7675d0cf4dc7fa9e08499482bf13e3d0b34214bb Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Sun, 30 Oct 2016 21:27:25 -0400 Subject: [PATCH] Update artifact example in init command --- command/init.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/command/init.go b/command/init.go index ab317f2a8..775ad7f4f 100644 --- a/command/init.go +++ b/command/init.go @@ -168,9 +168,17 @@ job "example" { } } - # The artifact stanza can be specified one or more times to download - # artifacts prior to the task being started. This is convenient for - # shipping configs or data needed by the task. + # The "artifact" stanza instructs Nomad to download an artifact from a + # remote source prior to starting the task. This provides a convenient + # mechanism for downloading configuration files or data needed to run the + # task. It is possible to specify the "artifact" stanza multiple times to + # download multiple artifacts. + # + # For more information and examples on the "artifact" stanza, please see + # the online documentation at: + # + # https://www.nomadproject.io/docs/job-specification/artifact.html + # # artifact { # source = "http://foo.com/artifact.tar.gz" # options {