From 179d0f5544d64de9028c40902f2976fac1b9b15e Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 15 Oct 2015 13:27:53 -0700 Subject: [PATCH] Remove explicit mysql-client installation This patch removes the explicit installation of the mysql-client package because: - when using the older mysql module it is unnecessary, as the mysql::db type requires the mysql::server class, which installs the mysql-server package, which installs the mysql-client package as a side effect. This is only true for Ubuntu, but as this module only works on Ubuntu currently we do not need to be concerned with how other operating systems behave. - when using a modern mysql module, the mysql::db type includes the mysql::client class, which installs the mysql-client package explicitly. This conflicts with the explicit installation in the drupal module. This patch will allow the drupal module to work with an up-to-date version of the mysql module while not causing any negative effects while the older version is still installed. Change-Id: Ia472dafdf60b9f1b813d4fc9a6c42f9259f1e203 --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index caffd4a..bb7ff69 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -183,7 +183,7 @@ class drupal ( # php packages $drupal_related_packages = [ 'unzip', 'php5-mysql', 'php5-gd', 'php5-cli', - 'libapache2-mod-php5', 'mysql-client' ] + 'libapache2-mod-php5' ] package { $drupal_related_packages: ensure => 'installed',