Added name of the cookbook to metadata.rb and added case for centos/redhat distros in apache recipe