Check for nil config_path.
This commit is contained in:
parent
8c1ff5ee26
commit
8c2ddac2cd
|
@ -216,7 +216,10 @@ module VagrantPlugins
|
|||
facter = "#{facts.join(" ")} "
|
||||
end
|
||||
|
||||
puppet_bin = File.join(@config.binary_path, "puppet")
|
||||
puppet_bin = "puppet"
|
||||
if(@config.binary_path)
|
||||
puppet_bin = File.join(@config.binary_path, puppet_bin)
|
||||
end
|
||||
command = "#{facter} #{puppet_bin} apply #{options}"
|
||||
if config.working_directory
|
||||
if windows?
|
||||
|
|
Loading…
Reference in New Issue