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