knife-vagrant 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/chef/knife/vagrant_test.rb +3 -2
  2. metadata +1 -1
@@ -120,8 +120,9 @@ module KnifePlugins
120
120
  ensure
121
121
  if config[:destroy]
122
122
  ui.confirm("Destroy vagrant box #{config[:box]} and delete chef node and client")
123
- config[:yes] = true unless config[:yes]
124
- @vagrant_env.cli("destroy")
123
+ config[:yes] = true
124
+ args = %w[ destroy --force ]
125
+ @vagrant_env.cli(args)
125
126
  delete_object(Chef::Node, config[:hostname])
126
127
  delete_object(Chef::ApiClient, config[:hostname])
127
128
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: