Browse files

Don't set attributes when a default will work just fine

  • Loading branch information...
1 parent 521b600 commit 5acbe7bc351b30b6becd6c6bbac605a2b6980fcc @tas50 tas50 committed Sep 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 attributes/default.rb
View
6 attributes/default.rb
@@ -19,9 +19,9 @@
case node['platform_family']
when 'windows'
- set['git']['version'] = "1.7.9-preview20120201"
- set['git']['url'] = "http://msysgit.googlecode.com/files/Git-#{node['git']['version']}.exe"
- set['git']['checksum'] = "0627394709375140d1e54e923983d259a60f9d8e"
+ default['git']['version'] = "1.7.9-preview20120201"
+ default['git']['url'] = "http://msysgit.googlecode.com/files/Git-#{node['git']['version']}.exe"
+ default['git']['checksum'] = "0627394709375140d1e54e923983d259a60f9d8e"
when "mac_os_x"
default['git']['osx_dmg']['app_name'] = "git-1.7.9.4-intel-universal-snow-leopard"
default['git']['osx_dmg']['volumes_dir'] = "Git 1.7.9.4 Snow Leopard Intel Universal"

0 comments on commit 5acbe7b

Please sign in to comment.