knife-vagrant 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/vagrant_test.rb +3 -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
|
124
|
-
|
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
|