3
I am learning Vagrant and Puppet and want to know if possible install old versions of PHP, Mysql, Apache using Puppet? If so, how to do?
Ex: PHP 5.4.9, 5.5 Mysql 5.5.27, 5.6
3
I am learning Vagrant and Puppet and want to know if possible install old versions of PHP, Mysql, Apache using Puppet? If so, how to do?
Ex: PHP 5.4.9, 5.5 Mysql 5.5.27, 5.6
2
You can specify a version:
package { 'php' :
ensure => '5.2' ,
}
But remember that if the required version of the package (RPM, deb, etc.) is not available in your default repository, you will have to follow one of these paths:
Find an alternative repository that has the package in the version you need and add it to the repositories list.
Configure your own repository that contains this package
Install directly by specifying the path to the package as explained below.
It could be so:
package { 'php' :
ensure => '5.2' ,
source => '/caminho/para/o/php-5.2.rpm' ,
}
Outspoken answer from here
Browser other questions tagged vagrant
You are not signed in. Login or sign up in order to post.
What is this "php-5.2. rpm" ?
– Bruno Santos
serves the way to tar.gz ?
– Bruno Santos
.rpm is the distribution package you are using. In this case, it could be Fedora. You are using Ubuntu?
– Onilton Maciel
Yes, I use Ubuntu 13.04 .. where do I find these packages ? I need mysql versions tbm
– Bruno Santos
Update the question with the versions of the packages you need, so we can try to help you.
– Onilton Maciel