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