compass-adapters/cobbler/snippets/preseed_client.rb
xiaodongwang 06c19826da make ubuntu openstack works with proxy
Partial-Bug: 1392131
Change-Id: I5485d4543705cb3affce1937d1d7a6f1fd97b866
2014-12-04 17:54:28 -08:00

13 lines
305 B
Ruby

cat << EOL > /etc/chef/client.rb
log_level :info
log_location '/dev/null'
#if $getVar('chef_url', '') != ""
chef_server_url '$chef_url'
#end if
validation_client_name 'chef-validator'
json_attribs nil
pid_file '/var/run/chef-client.pid'
# Using default node name (fqdn)
no_lazy_load true
EOL