Browse files

Require tempfile in live_image

Tempfile creation was occasionally bombing out because tempfile would
not always be required. This led to the readonly? method concluding that
the filesystem was readonly even when it was not. This occurred
sporadically because tempfile was sometimes included indirectly.
  • Loading branch information...
asquared committed Jun 19, 2012
1 parent 7b9a722 commit 49ce3d02a40990d42ec51ba42b07b75a908f4284
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/concerto_client/live_image.rb
@@ -1,3 +1,5 @@
+require 'tempfile'
# Functions for dealing with the live image
# (where it's mounted, if it's read-only, etc)
module ConcertoConfig

0 comments on commit 49ce3d0

Please sign in to comment.