Update main.go

This commit is contained in:
Elachance 2014-01-29 15:53:16 -08:00
parent 73bbfab8f1
commit 3183a52778
1 changed files with 6 additions and 1 deletions

View File

@ -6,5 +6,10 @@ import (
)
func main() {
plugin.ServeProvisioner(new(chefclient.Provisioner))
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(chefclient.Provisioner))
server.Serve()
}