2014-01-09 03:21:14 +00:00

19 lines
467 B
Ruby

log_level :info
log_location '/var/log/chef-client.log'
#if $getVar('chef_url', '') != ""
chef_server_url '$chef_url'
#end if
#if $getVar('proxy', '') != ""
http_proxy '$proxy'
https_proxy '$proxy'
#end if
#if $getVar('ignore_proxy', '') != ""
no_proxy '$ignore_proxy'
#end if
#if $getVar('chef_node_name', '') != ""
node_name '$chef_node_name'
#end if
validation_client_name 'chef-validator'
# Using default node name (fqdn)