Permalink
Browse files

Helps if I get my attributes right

  • Loading branch information...
1 parent 7ef72a7 commit ed90a9c0d047bcec1eabf6904e9205efe9e90432 Nick Rycar committed with Chris Lundquist Dec 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 attributes/yum.rb
View
@@ -19,8 +19,8 @@
case node['platform']
when "centos"
- default['yum']['nginx']['url'] = "http://nginx.org/packages/centos/#{node['platform_version'].to_i}/$basearch/"
+ default['nginx']['yum']['url'] = "http://nginx.org/packages/centos/#{node['platform_version'].to_i}/$basearch/"
else
- default['yum']['nginx']['url'] = "http://nginx.org/packages/rhel/#{node['platform_version'].to_i}/$basearch/"
+ default['nginx']['yum']['url'] = "http://nginx.org/packages/rhel/#{node['platform_version'].to_i}/$basearch/"
end

0 comments on commit ed90a9c

Please sign in to comment.