Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

upgrade to the latest stable branch for drush: 7.x-5.4

  • Loading branch information...
commit 650f73d1fc326d55e0c2386c6fe198f6c0c3e218 1 parent d7650f6
@mdxp mdxp authored
Showing with 6 additions and 5 deletions.
  1. +1 −0  CHANGELOG.md
  2. +2 −2 attributes/default.rb
  3. +3 −3 recipes/drush.rb
View
1  CHANGELOG.md
@@ -2,6 +2,7 @@
* fix bug caused by the removal of `mysql_database` LWRP from the mysql cookbook starting with version 1.2.0
* fix most foodcritic warnings
+* upgrade to the latest stable branch for drush: 7.x-5.4
## v1.0.0:
View
4 attributes/default.rb
@@ -32,8 +32,8 @@
set_unless['drupal']['db']['password'] = secure_password
default['drupal']['src'] = Chef::Config[:file_cache_path]
-default['drupal']['drush']['version'] = "4.x-dev"
-default['drupal']['drush']['checksum'] = "86bf384f5d70793a6f41d0e4a0d25fa1dceaccb17c9f7db1c5bf0397be6ab64a"
+default['drupal']['drush']['version'] = "7.x-5.4"
+default['drupal']['drush']['checksum'] = "6cea1275f2aad22b8d3474bb34b4494f069f823feecccb7edb399631f0b0ca40"
default['drupal']['drush']['dir'] = "/usr/local/drush"
default['drupal']['modules'] = ["views", "webform"]
View
6 recipes/drush.rb
@@ -20,9 +20,9 @@
include_recipe %w{php php::module_mysql php::module_gd}
-remote_file "#{node['drupal']['src']}/drush-All-versions-#{node['drupal']['drush']['version']}.tar.gz" do
+remote_file "#{node['drupal']['src']}/drush-#{node['drupal']['drush']['version']}.tar.gz" do
checksum node['drupal']['drush']['checksum']
- source "http://ftp.drupal.org/files/projects/drush-All-versions-#{node['drupal']['drush']['version']}.tar.gz"
+ source "http://ftp.drupal.org/files/projects/drush-#{node['drupal']['drush']['version']}.tar.gz"
mode "0644"
end
@@ -35,7 +35,7 @@
execute "untar-drush" do
cwd node['drupal']['drush']['dir']
- command "tar --strip-components 1 -xzf #{node['drupal']['src']}/drush-All-versions-#{node['drupal']['drush']['version']}.tar.gz"
+ command "tar --strip-components 1 -xzf #{node['drupal']['src']}/drush-#{node['drupal']['drush']['version']}.tar.gz"
not_if "/usr/local/bin/drush status drush-version --pipe | grep #{node['drupal']['drush']['version']}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.