packer-cn/plugin/provisioner-puppet-masterless/main.go

16 lines
292 B
Go
Raw Normal View History

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