Commit 09f5cd50 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer: Update doc on Provisioner

parent 6b87c42e
...@@ -3,9 +3,9 @@ package packer ...@@ -3,9 +3,9 @@ package packer
// A provisioner is responsible for installing and configuring software // A provisioner is responsible for installing and configuring software
// on a machine prior to building the actual image. // on a machine prior to building the actual image.
type Provisioner interface { type Provisioner interface {
// Prepare is called with the raw configuration and a UI element in // Prepare is called with a set of configurations to setup the
// order to setup the internal state of the provisioner and perform // internal state of the provisioner. The multiple configurations
// any validation necessary for the provisioner. // should be merged in some sane way.
Prepare(...interface{}) Prepare(...interface{})
// Provision is called to actually provision the machine. A UI is // Provision is called to actually provision the machine. A UI is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment