Skip to content

Commit

Permalink
upgrade to the latest stable branch for drush: 7.x-5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxp committed Jun 23, 2012
1 parent d7650f6 commit 650f73d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions recipes/drush.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 650f73d

Please sign in to comment.