Yet another module for installing drush. This module relies on the excellent node-php module and provides a resource for placing configuration files in a recursively required conf.d directory. This module installs drush from git and installs drush's sole dependency (Console_Table) using PEAR.
puppet module install zivtech-drush
The simplest way is to just include the drush module:
include drush
class { 'drush':
# Here any git ref from the drush repo can be used
git_ref => 'master',
}
drush::config { 'dump-dir':
value => '/path/to/dumpdir',
}
drush::config { 'alias-path':
value => 'array(\'/path/to/aliases\', \'/path2/to/more/aliases\')'
string => false,
}