From 9fa93712a1e18a44c54b431c981dc2bde7cc7388 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 17 Aug 2015 01:32:45 -0700 Subject: [PATCH] Added integrated post-processors --- command/plugin.go | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/command/plugin.go b/command/plugin.go index 76e97484e..1685db188 100644 --- a/command/plugin.go +++ b/command/plugin.go @@ -24,6 +24,16 @@ import ( vmwarevmx "github.com/mitchellh/packer/builder/vmware/vmx" "github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/packer/plugin" + "github.com/mitchellh/packer/post-processor/artifice" + "github.com/mitchellh/packer/post-processor/atlas" + "github.com/mitchellh/packer/post-processor/compress" + "github.com/mitchellh/packer/post-processor/docker-import" + "github.com/mitchellh/packer/post-processor/docker-push" + "github.com/mitchellh/packer/post-processor/docker-save" + "github.com/mitchellh/packer/post-processor/docker-tag" + "github.com/mitchellh/packer/post-processor/vagrant" + "github.com/mitchellh/packer/post-processor/vagrant-cloud" + "github.com/mitchellh/packer/post-processor/vsphere" "github.com/mitchellh/packer/provisioner/ansible-local" "github.com/mitchellh/packer/provisioner/chef-client" "github.com/mitchellh/packer/provisioner/chef-solo" @@ -76,7 +86,18 @@ var Provisioners = map[string]packer.Provisioner{ "windows-shell": new(windowsshell.Provisioner), } -var PostProcessors = map[string]packer.PostProcessor{} +var PostProcessors = map[string]packer.PostProcessor{ + "artifice": new(artifice.PostProcessor), + "atlas": new(atlas.PostProcessor), + "compress": new(compress.PostProcessor), + "docker-import": new(dockerimport.PostProcessor), + "docker-push": new(dockerpush.PostProcessor), + "docker-save": new(dockersave.PostProcessor), + "docker-tag": new(dockertag.PostProcessor), + "vagrant": new(vagrant.PostProcessor), + "vagrant-cloud": new(vagrantcloud.PostProcessor), + "vsphere": new(vsphere.PostProcessor), +} func (c *PluginCommand) Run(args []string) int { // This is an internal call so we're not going to do much error checking.