Commit 956f49f4 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

provisioner/puppet-masterless: check for hiera config path [GH-656]

parent 2b4bdee0
......@@ -20,6 +20,8 @@ BUG FIXES:
get stuck with ISO. [GH-685]
* builder/vmware: File cleanup is more resilient to file delete races
with the operating system. [GH-675]
* provisioner/puppet-masterless: Check for hiera config path existence
properly. [GH-656]
## 0.4.0 (November 19, 2013)
......
......@@ -145,7 +145,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
// Validation
if p.config.HieraConfigPath != "" {
info, err := os.Stat(p.config.ManifestFile)
info, err := os.Stat(p.config.HieraConfigPath)
if err != nil {
errs = packer.MultiErrorAppend(errs,
fmt.Errorf("hiera_config_path is invalid: %s", err))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment