Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

Vagrant boxes for VM testing

Nate Nolting shared this idea 10 years ago
Needs Feedback

It would be nice if WHM had an option to create Vagrant boxes for testing with the same settings that are set up on a particular host install. Right now we're using https://puphpet.com/ to create vagrant boxes that are close to what we have installed in WHM, but not dead on, which can lead to technical debt when trying to go live with a change to a website.

Best Answer
photo

It is unlikely that cPanel & WHM itself as a product would venture into the deployment of wholesale environments like that. The product's design and nature is not set with that expectation. Still, I will leave this feature request for further feedback and voting to be brought to it.


It's more likely that we will pursue something close to the feature request already lodged below:


http://features.cpanel.net/responses/clone-a-cpanel-server-configuration-to-a-new-server-excluding-server-specific-items


This would allow the replication of a particular installation's settings/configurations and effect a similar outcome.

Replies (3)

photo
1

It is unlikely that cPanel & WHM itself as a product would venture into the deployment of wholesale environments like that. The product's design and nature is not set with that expectation. Still, I will leave this feature request for further feedback and voting to be brought to it.


It's more likely that we will pursue something close to the feature request already lodged below:


http://features.cpanel.net/responses/clone-a-cpanel-server-configuration-to-a-new-server-excluding-server-specific-items


This would allow the replication of a particular installation's settings/configurations and effect a similar outcome.

photo
2

The biggest challenge with using Vagrant/puphpet is getting their VMs to match the versions of apache/php/mysql that cPanel uses. It usually uses the base distribution versions (CentOS) which are quite a bit older.


I wonder if it would make sense on the Vagrant/puphet end to be able to have the option use the cPanel RPMS for those packages.

photo
1

Crossing my fingers...

It's pretty hard to set up a development environment for site's hosted on a cPanel server and match the same versions of software (Apache version, PHP, MySql, etc.).

Leave a Comment
 
Attach a file