def cookbook_with_maintainer(name, email)
      write_recipe %q{
        #
        # Cookbook Name:: example
        # Recipe:: default
        #
        # Copyright 2011, YOUR_COMPANY_NAME
        #
        # All rights reserved - Do Not Redistribute
        #
      }

      fields = {}
      fields["maintainer"] = name unless name.nil?
      fields["maintainer_email"] = email unless email.nil?
      write_metadata %Q{
        #{fields.map { |field, value| %Q{#{field}\t"#{value}"} }.join("\n")}
        license          "All rights reserved"
        description      "Installs/Configures example"
        long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
        version          "0.0.1"
      }
    end
def cookbook_with_maintainer(name, email)
      write_recipe %q{
        #
        # Cookbook Name:: example
        # Recipe:: default
        #
        # Copyright 2011, YOUR_COMPANY_NAME
        #
        # All rights reserved - Do Not Redistribute
        #
      }

      fields = {}
      fields["maintainer"] = name unless name.nil?
      fields["maintainer_email"] = email unless email.nil?
      write_metadata %Q{
        #{fields.map { |field, value| %Q{#{field}\t"#{value}"} }.join("\n")}
        license          "All rights reserved"
        description      "Installs/Configures example"
        long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
        version          "0.0.1"
      }
    end
Create an cookbook with the maintainer specified in the metadata

 @param [String] name The maintainer name
 @param [String] email The maintainer email address