Regarding MySQL cookbook


#1

Hi,

I’m trying to run MySQL cookbook on an RHEL instance which is not yet
subscribed. As a result the cookbook is unable to download the mysql files from
the yum repo.
Is there any other cookbook which downloads files from locations other than the
yum repo?

Thanks in advance.


#2

Easy answer: Register the machine first.

Harder but even better effective answer: You can use the “yum” cookbook to set up pointers to an internal mirror of the RHRL yum repository, created and maintained with the “reposync” tool. It requires a host registered with the correct version of RHEL, and a web server pointed to the resulting repository. This has notable benefits. You can also save a great deal of unnecessary bandwidth doing the chef “yum-makecache” commands against a remote RHEL registered repository. Yum uses a quite bulky “repodata” which updates frequently, and it’s an expensive chunk of bandwidth to be burning every night from RHEL’s main servers across a big set of machines.

Simpler answer: use CentOS or Scientifici Linux. Local mirror repository is optional, but still helpful, and can be updated with “rsync” commands.

Ask privately and I’ll send you copies of some public tools.


Nico Kadel-Garcia
Senior Systems Consultant
Email: nkadelgarcia-consultant@scholastic.com
Cell Phone: +1.339.368.2428


From: sivajimsingh@gmail.com sivajimsingh@gmail.com
Sent: Thursday, August 14, 2014 6:36 AM
To: chef-dev@lists.opscode.com
Subject: [chef-dev] Regarding MySQL cookbook

Hi,

I’m trying to run MySQL cookbook on an RHEL instance which is not yet
subscribed. As a result the cookbook is unable to download the mysql files from
the yum repo.
Is there any other cookbook which downloads files from locations other than the
yum repo?

Thanks in advance.