class ChefCLI::PolicyfileServices::Install

def policyfile_lock

def policyfile_lock
  return nil if policyfile_lock_content.nil?
  @policyfile_lock ||= begin
    lock_data = FFI_Yajl::Parser.new.parse(policyfile_lock_content)
    PolicyfileLock.new(storage_config, ui: ui).build_from_lock_data(lock_data)
  end
end