Method: VagrantPlugins::VagrantHyperV::Provisioner::ChefSolo#chef_binary_path
- Defined in:
- lib/vagrant-windows-hyperv/provisioner/chef_solo.rb
permalink #chef_binary_path(binary) ⇒ Object
Returns the path to the Chef binary, taking into account the ‘binary_path` configuration option.
165 166 167 168 |
# File 'lib/vagrant-windows-hyperv/provisioner/chef_solo.rb', line 165 def chef_binary_path(binary) return binary if !config.binary_path return File.join(config.binary_path, binary) end |