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

Commit

Permalink
Issue #2015: Prepare for 5.1.1 release, drop CentOS 6 documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 27, 2020
1 parent f282497 commit 8c7ea2d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Drupal VM Changelog

## 5.1.1 (2020-02-27)

### Breaking Changes

- Removed 'official' support for CentOS 6 and Debian 8. These older OSes may still work, but [it would be extremely painful](https://www.youtube.com/watch?v=RZhp-Uctd-c) to keep using them.

### New/changed variables in default.config.yml

N/A

### Improvements

* Improved CentOS 8 compatibility.
* Updated roles: drupal, php-xdebug, php-xhprof, php-versions, java, security, nodejs, elasticsearch, firewall, varnish, blackfire, daemonize, mysql, postgresql, ruby, php-pecl

### Bugfixes

* #2011: Fix broken link in Solr documentation.


## 5.1.0 "Recognizer" (2019-12-03)

This release adds support for PHP 7.4, and completely drops PHP 5.6 support (in the past, brave and daring souls could attempt to run 5.6—it is almost impossible to do so in Drupal VM as of this release).
Expand Down
31 changes: 9 additions & 22 deletions docs/configurations/base-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Currently-supported OSes are:

- Ubuntu 18.04 'Bionic' (default)
- Ubuntu 16.04 'Xenial'
- RedHat Enterprise Linux / CentOS 8
- RedHat Enterprise Linux / CentOS 7
- RedHat Enterprise Linux / CentOS 6 (limited support)
- Debian 10 'Buster'
- Debian 9 'Stretch'

For certain OSes, there are a couple other caveats and tweaks you may need to perform to get things running smoothly—the main features and latest development is only guaranteed to work with the default OS as configured in `default.config.yml`.
Expand All @@ -20,32 +21,18 @@ Everything should work out of the box with Ubuntu 16.04.

Everything should work out of the box with Ubuntu 16.04.

## RedHat Enterprise Linux / CentOS 7

Everything should work out of the box with RHEL 7.

## RedHat Enterprise Linux / CentOS 6
## RedHat Enterprise Linux / CentOS 8

- **Apache without FastCGI**: If you want to use Apache with CentOS 6 on Drupal VM, you will need to modify the syntax of your `apache_vhosts` and remove the `extra_parameters: "{{ apache_vhost_php_fpm_parameters }}"` line from each one. Alternatively, you can use Nginx with the default configuration by setting `drupalvm_webserver: nginx` inside `config.yml`.
Everything should work out of the box with RHEL 8.

- **PHP OpCache**: PHP's OpCache (if you're using PHP > 5.5) requires the following setting to be configured in `config.yml` (see upstream bug: [CentOS (6) needs additional php-opcache package](https://github.com/geerlingguy/ansible-role-php/issues/39)):

```yaml
php_opcache_enabled_in_ini: false
```
- **Firewalld**: [Firewalld](http://www.firewalld.org/) is not available on CentOS 6, so the Drupal VM setting `firewall_disable_firewalld`, which defaults to `true`, must be overridden in `config.yml` and set to `false`:
## RedHat Enterprise Linux / CentOS 7

```yaml
firewall_disable_firewalld: false
```
Everything should work out of the box with RHEL 7.

- **Varnish**: Newer versions of Varnish are no longer available for CentOS 6, so you need to lock Varnish in at an older version, by adding something like the following in `config.yml`:
## Debian 10 Buster

```yaml
varnish_version: 5.2
```
Everything should work out of the box with Debian 10.

## Debian 9 Stretch

Everything should work out of the box with Debian 9.
Everything should work out of the box with Debian 10.
4 changes: 0 additions & 4 deletions tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ if [ $distro = 'centos7' ]; then
elif [ $distro = 'centos8' ]; then
init="/usr/lib/systemd/systemd"
opts="--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
# CentOS 6
elif [ $distro = 'centos6' ]; then
init="/sbin/init"
opts="--privileged"
# Ubuntu 18.04
elif [ $distro = 'ubuntu1804' ]; then
init="/lib/systemd/systemd"
Expand Down

0 comments on commit 8c7ea2d

Please sign in to comment.