mirror of https://github.com/hashicorp/packer
parent
45b5f0c2ee
commit
2d90ffe7a4
@ -1,7 +1,12 @@
|
||||
package builder
|
||||
package packerbuilderdata
|
||||
|
||||
import "github.com/hashicorp/packer/helper/multistep"
|
||||
|
||||
// This is used in the BasicPlaceholderData() func in the packer/provisioner.go
|
||||
// To force users to access generated data via the "generated" func.
|
||||
const PlaceholderMsg = "To set this dynamically in the Packer template, " +
|
||||
"you must use the `build` function"
|
||||
|
||||
// GeneratedData manages variables exported by a builder after
|
||||
// it started. It uses the builder's multistep.StateBag internally, make sure it
|
||||
// is not nil before calling any functions.
|
||||
@ -1,4 +1,4 @@
|
||||
package builder
|
||||
package packerbuilderdata
|
||||
|
||||
import (
|
||||
"testing"
|
||||
@ -1,6 +0,0 @@
|
||||
package common
|
||||
|
||||
// This is used in the BasicPlaceholderData() func in the packer/provisioner.go
|
||||
// To force users to access generated data via the "generated" func.
|
||||
const PlaceholderMsg = "To set this dynamically in the Packer template, " +
|
||||
"you must use the `build` function"
|
||||
Loading…
Reference in new issue