Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Centos compatibility #103

Closed
wants to merge 13 commits into from
Closed

Conversation

JorisVanEijden
Copy link
Contributor

Add CentOS 6 compatibility.

Tested on CentOS 6.
Not working: phpmyadmin (remi phpmyadmin creates /etc/phpMyAdmin folder but role expects /etc/phpmyadmin)
Not tested: solr, mailhog

Config.yml changes I needed:
php_opcache_enabled_in_ini: false (see ansible-role-php #39)
xhprof documentroot: "/usr/share/pear/xhprof_html"

@geerlingguy
Copy link
Owner

I'm liking this a lot! One initial note (hopefully I'll get more time to go into the individual lines of code later):

I'd like to have a variable in config.yml for "OS" or something like that, and set the box based on that. Additionally, we need to switch the box for Parallels too (or just abandon those users for centos ;). That way you still never need to change the Vagrantfile and all changes are in config.yml.

@JorisVanEijden
Copy link
Contributor Author

CentOS 7 is failing on issue ansible-role-mysql #9

- Provide default box.
- Mark centos7 and ubuntu12 as experimental
@JorisVanEijden
Copy link
Contributor Author

Ubuntu 12 is failing due to old ansible (1.4.4) on geerlingguy/ubuntu1204 box (I think).

@@ -8,7 +8,7 @@ http://www.drupalvm.com/

This project aims to make spinning up a simple local Drupal test/development environment incredibly quick and easy, and to introduce new developers to the wonderful world of Drupal development on local virtual machines (instead of crufty old MAMP/WAMP-based development).

It will install the following on an Ubuntu 14.04 linux VM:
It will install the following on an Ubuntu 14.04 or CentOS 6 linux VM:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just leave it as "Ubuntu 14.04 (by default)"

@geerlingguy
Copy link
Owner

I finally had some more time to run through all the changes, and it's looking very good—can you make the rest of the changes I noted, and then I'll work on merging and touching up anything I can to get Ubuntu 12.04 and CentOS 7 working sooner rather than later?

This is one small missing piece that's going to make Drupal VM waaaay more awesome-r!

@geerlingguy
Copy link
Owner

Since this PR was a bit off from master, I grabbed your patch, applied it, fixed all the conflicts, tested everything further, then went ahead and added a new Wiki page, where we can track specific config changes required per OS/box: Using Different Base OSes with Drupal VM.

@geerlingguy geerlingguy closed this Jun 1, 2015
@geerlingguy
Copy link
Owner

CentOS 7 should soon work well, too... final hurdle is almost complete: geerlingguy/ansible-role-mysql#38

@geerlingguy geerlingguy mentioned this pull request Mar 9, 2017
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants