packer-cn/plugin/provisioner-chef-solo/main.go

16 lines
276 B
Go
Raw Normal View History

2013-07-05 00:26:48 -04:00
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/provisioner/chef-solo"
2013-07-05 00:26:48 -04:00
)
func main() {
2013-12-10 16:59:38 -05:00
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(chefsolo.Provisioner))
server.Serve()
2013-07-05 00:26:48 -04:00
}