From 0289f7ff679fcf9290b563a2a71e3bf120d17a4e Mon Sep 17 00:00:00 2001 From: Steven Rombauts Date: Thu, 26 Nov 2015 11:00:25 +0000 Subject: [PATCH] Install joomlatools/joomla-console-joomlatools plugin by default --- CHANGELOG.md | 3 ++- puppet/modules/scripts/manifests/init.pp | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ef0158..a0f5f3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,14 @@ To get the diff for a specific change, go to https://github.com/joomlatools/joom To view the diff between two versions, go to https://github.com/joomlatools/joomla-vagrant/compare/v1.0.0...v1.0.1 * 1.4.2 (2015-11-25) + * Added - `JOOMLATOOLS_BOX` version environment variable + * Added - Install [joomlatools/joomla-console-joomlatools](https://github.com/joomlatools/joomla-console-joomlatools) plugin by default * Fixed - Always pass requests to /ZendServer end-point * Fixed - Symlink `/opt/zray` to active Z-Ray installation to fix plugin gallery * Fixed - Ensure that hostname is always set to `joomlatools` using Puppet configuration * Improved - Use a single zray.ini file and zray.conf virtual host * Improved - Disable Z-Ray on tools (dashboard, phpmyadmin, webgrind, pimpmylog) * Improved - Decrease box size - * Added - `JOOMLATOOLS_BOX` version environment variable * 1.4.1 (2015-11-11) * Added - Install Z-Ray [Joomla](https://www.yireo.com/software/joomla-extensions/zray) and [Composer](https://github.com/zend-server-extensions/Z-Ray-Composer) plugins diff --git a/puppet/modules/scripts/manifests/init.pp b/puppet/modules/scripts/manifests/init.pp index 828226b..ee1fa87 100644 --- a/puppet/modules/scripts/manifests/init.pp +++ b/puppet/modules/scripts/manifests/init.pp @@ -26,6 +26,14 @@ environment => 'COMPOSER_HOME=/home/vagrant/.composer' } + exec { 'add-console-joomlatools-plugin': + command => 'composer --working-dir=/home/vagrant/.composer/vendor/joomlatools/joomla-console/plugins require joomlatools/joomla-console-joomlatools --no-interaction', + unless => '[ -d /home/vagrant/.composer/vendor/joomlatools/joomla-console/plugins/vendor/joomlatools/joomla-console-joomlatools ]', + require => Exec['add-console'], + user => vagrant, + environment => 'COMPOSER_HOME=/home/vagrant/.composer' + } + file {'/home/vagrant/.bash_profile': ensure => file, owner => vagrant,