Update puppet.rb
The main manifest may be a single file or a directory of .pp files. docs.puppetlabs.com/puppet/latest/reference/dirs_manifest.html#with-puppet-master https://github.com/mitchellh/vagrant/issues/4039
This commit is contained in:
parent
edb36abcc0
commit
8a45485de4
|
@ -105,7 +105,7 @@ module VagrantPlugins
|
|||
path: expanded_path.to_s)
|
||||
else
|
||||
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",
|
||||
manifest: expanded_manifest_file.to_s)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue