Class undine_drush::undine_drush
In: /vagrant/modules/undine_drush/manifests/init.pp
/vagrant/modules/undine_drush/manifests/init.pp
Parent:

Class: undine_drush

The undine_drush class is responsible for the installation of drush in Undine. Installation is done via the pear channel at pear.drush.org.

It should not be necessary to declare this class directly, as it will be declared automatically by the undine class, which all Undine sites should use.

Resources

Required Classes

undine_php undine_php

Resources

Exec["/usr/bin/drush"]
   command => "/usr/bin/drush"
   require => [Exec["/usr/bin/pear install drush/drush"]]
Exec["/usr/bin/drush"]
   command => "/usr/bin/drush"
   require => [Exec["/usr/bin/pear install drush/drush"]]
Exec["/usr/bin/pear channel-discover pear.drush.org"]
   unless => "/usr/bin/pear list-channels | grep drush"
   command => "/usr/bin/pear channel-discover pear.drush.org"
Exec["/usr/bin/pear channel-discover pear.drush.org"]
   unless => "/usr/bin/pear list-channels | grep drush"
   command => "/usr/bin/pear channel-discover pear.drush.org"
Exec["/usr/bin/pear install drush/drush"]
   unless => "/usr/bin/pear list -c pear.drush.org | grep drush | grep '6.0.0'"
   command => "/usr/bin/pear install drush/drush-6.0.0"
   require => [Exec["/usr/bin/pear channel-discover pear.drush.org"]]
Exec["/usr/bin/pear install drush/drush"]
   unless => "/usr/bin/pear list -c pear.drush.org | grep drush | grep '6.0.0'"
   command => "/usr/bin/pear install drush/drush-6.0.0"
   require => [Exec["/usr/bin/pear channel-discover pear.drush.org"]]
File["/home/vagrant/.drush"]
   ensure => directory
   mode => "0700"
   owner => "vagrant"
   group => "vagrant"
   require => Exec["/usr/bin/drush"]
File["/home/vagrant/.drush"]
   ensure => directory
   mode => "0700"
   owner => "vagrant"
   group => "vagrant"
   require => Exec["/usr/bin/drush"]

[Validate]