cookbooks/smf/resources/default.rb
# Save a checksum out to a file, for future chef runs
#
Save a checksum out to a file, for future chef runs
Save a checksum out to a file for future chef runs
def save_checksum
  Chef::Log.debug("Saving checksum for SMF #{self.name}: #{self.checksum}")
  ::FileUtils.mkdir_p(Chef::Config.checksum_path)
  f = ::File.new(checksum_file, 'w')
  f.write self.checksum
end
def save_checksum Chef :: Log . debug ( "Saving checksum for SMF #{self.name}: #{self.checksum}" ) :: FileUtils . mkdir_p ( Chef :: Config . checksum_path ) f = :: File . new ( checksum_file , 'w' ) f . write self . checksum end
Save a checksum out to a file, for future chef runs
Save a checksum out to a file for future chef runs