diff --git a/attributes/default.rb b/attributes/default.rb index d22b15f..0646d63 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -8,5 +8,6 @@ default['hg']['windows_arch'] = "x86" end default['hg']['version'] = "2.4.0" + default['hg']['windows_package'] = "Mercurial #{node['hg']['version']} (#{node['hg']['windows_arch']})" default['hg']['windows_url'] = "http://mercurial.selenic.com/release/windows/mercurial-#{node['hg']['version']}-#{node['hg']['windows_arch']}.msi" end diff --git a/recipes/package.rb b/recipes/package.rb index 43e439c..a3f5f50 100644 --- a/recipes/package.rb +++ b/recipes/package.rb @@ -19,7 +19,7 @@ case node['platform'] when "windows" - windows_package "Mercurial" do + windows_package node['hg']['windows_package'] do source node['hg']['windows_url'] action :install end