{"id":13905803,"url":"https://github.com/c10l/vagrant-butcher","last_synced_at":"2025-06-26T21:36:24.449Z","repository":{"id":5981126,"uuid":"7203292","full_name":"c10l/vagrant-butcher","owner":"c10l","description":"Delete Chef client and node when destroying Vagrant VM","archived":false,"fork":false,"pushed_at":"2022-10-06T05:52:37.000Z","size":144,"stargazers_count":123,"open_issues_count":6,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-09T16:45:44.430Z","etag":null,"topics":["chef","vagrant"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c10l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-17T10:51:30.000Z","updated_at":"2024-11-28T16:31:03.000Z","dependencies_parsed_at":"2022-08-30T00:21:15.401Z","dependency_job_id":null,"html_url":"https://github.com/c10l/vagrant-butcher","commit_stats":null,"previous_names":["cassianoleal/vagrant-butcher"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/c10l/vagrant-butcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c10l%2Fvagrant-butcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c10l%2Fvagrant-butcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c10l%2Fvagrant-butcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c10l%2Fvagrant-butcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c10l","download_url":"https://codeload.github.com/c10l/vagrant-butcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c10l%2Fvagrant-butcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260682412,"owners_count":23046056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chef","vagrant"],"created_at":"2024-08-06T23:01:24.084Z","updated_at":"2025-06-26T21:36:24.427Z","avatar_url":"https://github.com/c10l.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/vagrant-butcher.png)](http://badge.fury.io/rb/vagrant-butcher)\n[![Build Status](https://travis-ci.org/cassianoleal/vagrant-butcher.png)](https://travis-ci.org/cassianoleal/vagrant-butcher)\n[![Code Climate](https://codeclimate.com/github/cassianoleal/vagrant-butcher.png)](https://codeclimate.com/github/cassianoleal/vagrant-butcher)\n\n# Vagrant::Butcher\n\nIf you're using Vagrant with the Chef-Client provisioner it creates a client and a node on the Chef server when the VM spins up.\n\nThis plugin will automatically get rid of that cruft for you when you destroy the VM.\n\n## \u003ca id=\"install\"\u003e\u003c/a\u003eInstallation\n\nInstall this plugin using the Vagrant command line:\n\n    $ vagrant plugin install vagrant-butcher\n\n## \u003ca id='usage'\u003e\u003c/a\u003eUsage\n\nThe plugin is loaded automatically once installed.\n\n## \u003ca id='configuration'\u003e\u003c/a\u003eConfiguration\n\nFor most cases, the plugin shouldn't need any configuration. However, there are a few options that can be set. The options are all set in the `Vagrantfile` in the format:\n\n```ruby\nVagrant.configure(\"2\") do |config|\n  ...\n  config.butcher.\u003coption\u003e = \u003cvalue\u003e\n  ...\nend\n```\n\n| Option           | Default Value            | Purpose                                                                |\n| ---------------- | ------------------------ | ---------------------------------------------------------------------- |\n| `enabled`        | `true`                   | Defines whether `node` and `client` should be deleted                  |\n| `guest_key_path` | `'/etc/chef/client.pem'` | Location of the client key in the guest VM                             |\n| `verify_ssl`     | `true`                   | If set to false, does not verify Chef's host key                       |\n| `proxy`          | `nil`                    | Inform the URL of a proxy server between your host and the Chef Server |\n| `client_name`    | Guest's node name        | Inform a client name to override the plugin's default behaviour        |\n| `client_key`     | Guest's client key       | Point to a local `.pem` key file that matches the `client_name`        |\n\n## \u003ca id='caveats'\u003e\u003c/a\u003eCaveats\n\n* So far this has only been tested and confirmed to run with the VirtualBox and Rackspace provisioners. It should work with others, but if you run into issues please file a bug.\n* The default `.` -\u003e `/vagrant` shared folder should be mounted.\n* `verify_ssl` is enabled by default. You might want to disable that if, for example, you run your own Chef server with a self-signed cert. Check [here](#configuration) to see how.\n\n## Changelog\n\n### 2.3.0\n\n* Fix logger spam caused by Hashie used in Ridley (see [issue](https://github.com/intridea/hashie/issues/394))\n\n### 2.2.0\n\n* Removed compatibility with Vagrant \u003c 1.5\n* Fixes an issue with recent Vagrant versions where the butcher sequence would never run\n* Sets default `guest_key_path` depending on OS\n* Tested and confirmed working on Windows and Linux\n\n### 2.0.0\n\n* No more option to point to `knife.rb`. Data is retrieved from the `Vagrantfile`'s `chef_client` provisioner\n* `chef` is no longer a requirement (no more `json` conflicts)\n* [Configuration](#configuration) items were added to point to custom client name and key\n* It's possible to disable the plugin by setting the `enabled` flag to `false` in the Vagrantfile.\n\nSee [Configuration](#configuration) for all possible customisations.\n\n### 1.1.0\n\n* :auto was added as an optional value for knife_config_file\n\n### 1.0.1\n\n* Support for Vagrant 1.2\n\n### 1.0.0\n\n* Support for Vagrant 1.x (it's been tested on 1.1.4, but should work on previous minor releases) -- if you're using a pre-1.0 Vagrant release, stick to vagrant-butcher 0.0.3.\n* [Configuration](#usage) change.\n* [Installation](#install) via `vagrant plugin` only.\n* Provider-independent. _[Read more](#caveats)_\n\n### 0.0.3\n\n* Uses chef.node_name if set. Otherwise, fall back to vm.host_name (as before), or vm.box. -- _Kudos to [pikesley](https://github.com/pikesley)_.\n\n# Authors\n\n* Cassiano Leal (\u003ccassianoleal@gmail.com\u003e)\n* Daniel Searles ([https://github.com/squaresurf]())\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc10l%2Fvagrant-butcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc10l%2Fvagrant-butcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc10l%2Fvagrant-butcher/lists"}