Skip to content

Commit

Permalink
Cleaning up after an errant config file
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhjk committed Apr 28, 2009
1 parent 07b3f5c commit a930fe2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features/steps/run_client.rb
Expand Up @@ -62,11 +62,14 @@
File.open(@config_file, "w") do |file|
file.write(config_data)
end

@cleanup_files << @config_file

@status = Chef::Mixin::Command.popen4("chef-client -c #{@config_file}") do |p, i, o, e|
@stdout = o.gets(nil)
@stderr = e.gets(nil)
end


end

Expand Down

0 comments on commit a930fe2

Please sign in to comment.