6

chef-client "can not find config file"

view full story
linux-howto

http://serverfault.com – I have a handful of servers who have not checked into the (in-house open-source) chef server in some time. When running chef-client as root, I get the message WARN: Can not find config file: /etc/chef/client.rb, using defaults. Running with the "-c /path/to/config" option yields the same result. But as you can see, the files are in-place with both read and execute permissions: root@client:~# ls -lah /etc/chef total 24K drwxr-xr-x 2 root root 4.0K 2011-08-19 09:24 . drwxr-xr-x 91 root root 4.0K 2012-03-12 14:55 .. -rw-rw-r-- 1 root root 148 2010-09-15 13:14 client.json -rw------- 1 ro (HowTos)