Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Fix dangling tmpdir reference from cache feature
Browse files Browse the repository at this point in the history
The added cache feature tried to reference a temporary directory that no
longer existed; this corrects that bug by excising the additional code.

Since this was unused, no ill effects flow from this.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  • Loading branch information
Daniel Pittman committed Apr 2, 2013
1 parent 3c585ba commit 3ee0af0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/puppet/provider/rz_image/default.rb
Expand Up @@ -77,8 +77,6 @@ def create
Puppet.debug "razor image add -t #{resource[:type]} -p #{resource[:source]}"
razor 'image', 'add', '-t', resource[:type], '-p', source
end
ensure
FileUtils.remove_entry_secure(tmpdir) if tmpdir
end
end

Expand Down

0 comments on commit 3ee0af0

Please sign in to comment.