diff --git a/plugin/post-processor-compress/main.go b/plugin/post-processor-compress/main.go deleted file mode 100644 index 4b7aeaa68..000000000 --- a/plugin/post-processor-compress/main.go +++ /dev/null @@ -1,10 +0,0 @@ -package main - -import ( - "github.com/mitchellh/packer/packer/plugin" - "github.com/mitchellh/packer/post-processor/compress" -) - -func main() { - plugin.ServePostProcessor(new(compress.PostProcessor)) -} diff --git a/post-processor/compress/post-processor.go b/post-processor/compress/post-processor.go deleted file mode 100644 index 5af39a78a..000000000 --- a/post-processor/compress/post-processor.go +++ /dev/null @@ -1,38 +0,0 @@ -// compress implements the packer.PostProcessor interface and adds a -// post-processor for compressing output. -package compress - -import ( - "errors" - "github.com/mitchellh/mapstructure" - "github.com/mitchellh/packer/packer" -) - -type Config struct { - Format string -} - -type PostProcessor struct { - config Config -} - -func (p *PostProcessor) Configure(raw interface{}) error { - if err := mapstructure.Decode(raw, &p.config); err != nil { - return err - } - - if p.config.Format == "" { - p.config.Format = "tar.gz" - } - - if p.config.Format != "tar.gz" { - return errors.New("only 'tar.gz' is a supported format right now") - } - - return nil -} - -func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, error) { - ui.Say("We made it to here.") - return nil, nil -}