Skip to content

Knife plugin for Chef: Clean up unused/unnecessary nodes and clients

License

Notifications You must be signed in to change notification settings

brettcave/knife-dishwasher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knife-dishwasher

Knife plugin for Chef: Clean up unused/unnecessary nodes and clients

WORK IN PROGRESS. Not ready for use. If you really need this now, there is a bash script that can loop through your chef nodes.

Usage: ./bash_script/chef_cleanup_bash.sh [seconds]

Please set your chef path in the script before use. This will loop through your nodes, find any nodes with a check-in time older than [seconds] and delete them, along with any clients of the same name. If no arguments are presented, it will default to 86400 (24 hours)

About

Knife plugin for Chef: Clean up unused/unnecessary nodes and clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published