summaryrefslogtreecommitdiffstats
path: root/compass-deck/bin/chef/clean_clients.sh
blob: 7a26beafd98727874023209882fd94ec533b68aa (plain)
1
2
3
4
5
6
#!/bin/bash
echo "clean chef clients"
yes | knife client bulk delete '^(?!chef-).*'
if [[ "$?" != "0" ]]; then
    echo "failed to clean all clients"
fi