I run CentOS 6.5 on my vagrant VM and I need to install a specific version of Apache (2.2.15) to make it a similar configuration to live environment.
I currently have
package("httpd")
service 'httpd' do
action [:start, :enable]
end
And it obviously installs the most recent version yum knows about. This is indeed 2.2.15 but I do not want to rely solely on that as yum check-update may change the newest release package.
I am going to do the same thing with MySQL & PHP.
How can it be achieved?