Installs several versions of Drush system-wide.
It is installed to /opt/drush/DRUSH_VERSION/
and a symlink to each
executable file is placed in /usr/local/bin/
.
Installation is done via Composer.
Features:
- Configures bash integration
- Download of Drush extensions
- Definition of Drush aliases
- Optionally install command dependencies (wget, git, gzip, rsync, ...)
It doesn't goes crazy to provide a freaking Drush commands interface to run with Puppet.
This instructions are indicated for people that don't have the time or the need to learn Puppet, but wants to benefit from the facilities provided by this repo to install and manage several versions of Drush system-wide.
Find the instructions in the Puppetry for Drupaleros wiki page.
classes :
- drush
drush::versions :
- 6
- master
drush::extensions :
- drush_extras
- registry_rebuild
drush::aliases :
foo:
root : /var/www/foo/htdocs
uri : foo.local
bar:
root : /var/www/bar/htdocs
uri : bar.local
hiera_include('classes')
drush::extension { 'drush_deploy': }
MIT
Jonathan Araña Cruz - SB IT Media, S.L.