Module: VagrantPlugins::ProxyConf::Cap::Linux::ChefProxyConf

Defined in:
lib/vagrant-proxyconf/cap/linux/chef_proxy_conf.rb

Overview

Capability for chef proxy configuration

Class Method Summary collapse

Class Method Details

.chef_proxy_conf(machine) ⇒ String, false

Returns the path to chef or ‘false` if not found.

Returns:

  • (String, false)

    the path to chef or ‘false` if not found



10
11
12
# File 'lib/vagrant-proxyconf/cap/linux/chef_proxy_conf.rb', line 10

def self.chef_proxy_conf(machine)
  Util.which(machine, 'chef-client')
end