Thursday, June 27, 2013

Chef clients bulk delete

===============================ACHTUNG===============================

If you want to remove all clients from chef-server, then DONT use below command

knife client bulk delete *

instead use

knife client bulk delete '^(?!(chef|cli))'

it will not delete the clients used for proper functioning of chef server , like chef-validator , chef-ui etc


Tuesday, June 11, 2013

Updgrade Chef-Solo for vagrant

Vagrant, by default, uses an older version of chef-solo and you may run into problems because of that. Please follow the instructions in the readme file here to upgrade chef-solo to latest version for vagrant.