def add(cookbook)
      cookbook = cookbook.dup
      cookbook.created_at = Time.now
      cookbook.updated_at = Time.now

      entry = _cookbooks[cookbook.name] ||= {}
      entry[cookbook.version] = cookbook
    end
def add(cookbook)
      cookbook = cookbook.dup
      cookbook.created_at = Time.now
      cookbook.updated_at = Time.now

      entry = _cookbooks[cookbook.name] ||= {}
      entry[cookbook.version] = cookbook
    end
Add the given cookbook to the cookbook store. This method's
 implementation prohibits duplicate cookbooks from entering the store.

 @param [CommunityZero::Cookbook] cookbook
   the cookbook to add