From 09f5cd5090268f4a35314e251472fff3178b258f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 6 Jun 2013 17:02:02 -0700 Subject: [PATCH] packer: Update doc on Provisioner --- packer/provisioner.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packer/provisioner.go b/packer/provisioner.go index db389eddb..06ce49630 100644 --- a/packer/provisioner.go +++ b/packer/provisioner.go @@ -3,9 +3,9 @@ package packer // A provisioner is responsible for installing and configuring software // on a machine prior to building the actual image. type Provisioner interface { - // Prepare is called with the raw configuration and a UI element in - // order to setup the internal state of the provisioner and perform - // any validation necessary for the provisioner. + // Prepare is called with a set of configurations to setup the + // internal state of the provisioner. The multiple configurations + // should be merged in some sane way. Prepare(...interface{}) // Provision is called to actually provision the machine. A UI is