# File lib/puppet/configurer.rb, line 52 52: def dostorage 53: Puppet::Util::Storage.load 54: @compile_time ||= Puppet::Util::Storage.cache(:configuration)[:compile_time] 55: rescue => detail 56: puts detail.backtrace if Puppet[:trace] 57: Puppet.err "Corrupt state file #{Puppet[:statefile]}: #{detail}" 58: begin 59: ::File.unlink(Puppet[:statefile]) 60: retry 61: rescue => detail 62: raise Puppet::Error.new("Cannot remove #{Puppet[:statefile]}: #{detail}") 63: end 64: end