2015-05-03 05:18:48 -04:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2015-06-22 15:46:13 -04:00
|
|
|
"github.com/mitchellh/packer/template/interpolate"
|
2015-05-03 05:18:48 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
type PrlctlPostConfig struct {
|
|
|
|
PrlctlPost [][]string `mapstructure:"prlctl_post"`
|
|
|
|
}
|
|
|
|
|
2015-06-22 15:46:13 -04:00
|
|
|
func (c *PrlctlPostConfig) Prepare(ctx *interpolate.Context) []error {
|
2015-05-03 05:18:48 -04:00
|
|
|
if c.PrlctlPost == nil {
|
|
|
|
c.PrlctlPost = make([][]string, 0)
|
|
|
|
}
|
|
|
|
|
2015-06-22 15:46:13 -04:00
|
|
|
return nil
|
2015-05-03 05:18:48 -04:00
|
|
|
}
|