Merge pull request #4169 from schauer/patch-1
provisioners/puppet: manifest file can be a dir too
This commit is contained in:
commit
e1ea304884
|
@ -105,7 +105,7 @@ module VagrantPlugins
|
||||||
path: expanded_path.to_s)
|
path: expanded_path.to_s)
|
||||||
else
|
else
|
||||||
expanded_manifest_file = expanded_path.join(manifest_file)
|
expanded_manifest_file = expanded_path.join(manifest_file)
|
||||||
if !expanded_manifest_file.file?
|
if !expanded_manifest_file.file? && !expanded_manifest_file.directory?
|
||||||
errors << I18n.t("vagrant.provisioners.puppet.manifest_missing",
|
errors << I18n.t("vagrant.provisioners.puppet.manifest_missing",
|
||||||
manifest: expanded_manifest_file.to_s)
|
manifest: expanded_manifest_file.to_s)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue