From d1ae7b2fdcccfac71dd4a566f150f1e107d465d5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 13 Aug 2013 21:34:44 -0400 Subject: [PATCH] website: document inspect machine-readable types --- .../command-inspect.html.markdown | 56 +++++++++++++++++++ .../source/layouts/docs_machine_readable.erb | 1 + 2 files changed, 57 insertions(+) create mode 100644 website/source/docs/machine-readable/command-inspect.html.markdown diff --git a/website/source/docs/machine-readable/command-inspect.html.markdown b/website/source/docs/machine-readable/command-inspect.html.markdown new file mode 100644 index 000000000..bda66a9df --- /dev/null +++ b/website/source/docs/machine-readable/command-inspect.html.markdown @@ -0,0 +1,56 @@ +--- +layout: "docs_machine_readable" +page_title: "Command: inspect - Machine-Readable Reference" +--- + +# Inspect Command Types + +These are the machine-readable types that exist as part of the output +of `packer inspect`. + +
+
template-variable (2)
+
+

+ A user variable + defined within the template. +

+ +

+ Data 1: name - Name of the variable. +

+ +

+ Data 2: default - The default value of the + variable. +

+
+ +
template-builder (2)
+
+

+ A builder defined within the template +

+ +

+ Data 1: name - The name of the builder. +

+

+ Data 2: type - The type of the builder. This will + generally be the same as the name unless you explicitly override + the name. +

+
+ +
template-provisioner (1)
+
+

+ A provisioner defined within the template. Multiple of these may + exist. If so, they are outputted in the order they would run. +

+ +

+ Data 1: name - The name/type of the provisioner. +

+
+
diff --git a/website/source/layouts/docs_machine_readable.erb b/website/source/layouts/docs_machine_readable.erb index 1fe96abf8..4a3cac34d 100644 --- a/website/source/layouts/docs_machine_readable.erb +++ b/website/source/layouts/docs_machine_readable.erb @@ -7,6 +7,7 @@
  • « Back to Docs
  • General Types
  • Command: build
  • +
  • Command: inspect
  • Command: version
  • <% end %>