aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-23 14:44:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-23 14:44:39 -0200
commit9c41f88f26458e661bfdd71e90ee24f9d74b7b2c (patch)
treec7ee16f7b0e1bd13ea79748a9340f0f161934925
parent45213ef045a31fac9cda266a2a1794b477671f24 (diff)
downloadpuppet-drupal-9c41f88f26458e661bfdd71e90ee24f9d74b7b2c.tar.gz
puppet-drupal-9c41f88f26458e661bfdd71e90ee24f9d74b7b2c.tar.bz2
Change drush install strategy
-rw-r--r--manifests/init.pp24
1 files changed, 12 insertions, 12 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a2318c8..78e3fcb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -168,20 +168,20 @@ class drupal(
creates => '/usr/local/bin/composer',
}
- file { "/usr/local/bin/drush":
- ensure => '/usr/local/share/drush/drush',
- owner => root,
- group => root,
- require => [ Vcsrepo['/usr/local/share/drush'], Exec['getcomposer'] ],
- }
-
- #exec { 'getdrush':
- # command => '/usr/bin/wget https://github.com/drush-ops/drush/releases/download/8.0.0-rc3/drush.phar -O /usr/local/bin/drush && chmod +x /usr/local/bin/drush',
- # user => 'root',
- # cwd => '/tmp',
- # creates => '/usr/local/bin/drush',
+ #file { "/usr/local/bin/drush":
+ # ensure => '/usr/local/share/drush/drush',
+ # owner => root,
+ # group => root,
+ # require => [ Vcsrepo['/usr/local/share/drush'], Exec['getcomposer'] ],
#}
+ exec { 'getdrush':
+ command => '/usr/bin/wget https://github.com/drush-ops/drush/releases/download/8.0.0/drush.phar -O /usr/local/bin/drush && chmod +x /usr/local/bin/drush',
+ user => 'root',
+ cwd => '/tmp',
+ creates => '/usr/local/bin/drush',
+ }
+
#exec { 'composer-drush':
# command => '/usr/local/bin/composer global require drush/drush:dev-master',
# user => 'vagrant',