Thursday, June 27, 2013

Chef clients bulk delete


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

No comments:

Post a Comment