packer-cn/post-processor/vagrant/post-processor.go

27 lines
547 B
Go
Raw Normal View History

2013-06-26 20:37:46 -04:00
// vagrant implements the packer.PostProcessor interface and adds a
// post-processor that turns artifacts of known builders into Vagrant
// boxes.
package vagrant
import (
"github.com/mitchellh/packer/packer"
)
var builtins = map[string]string{
"mitchellh.amazonebs": "aws",
}
type Config struct{}
2013-06-26 20:37:46 -04:00
type PostProcessor struct {
config Config
}
func (p *PostProcessor) Configure(raw interface{}) error {
return nil
}
func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, error) {
return nil, nil
}