Skip to content

Instantly share code, notes, and snippets.

@chef
Created June 4, 2009 23:52
Show Gist options
  • Save chef/123940 to your computer and use it in GitHub Desktop.
Save chef/123940 to your computer and use it in GitHub Desktop.
r = Chef::REST.new('https://chef-server')
r.register('api_user', 'password')
r.authenticate('api_user', 'password')
r.delete_rest('nodes/your_node')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment