Skip to content

Commit

Permalink
[COOK-4518] - Fix Scientific Linux distroverpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean OMeara committed Apr 9, 2014
1 parent 646c3ba commit 1ae2e69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions attributes/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
case node['platform']
when 'amazon'
default['yum']['main']['distroverpkg'] = 'system-release'
when 'scientific'
default['yum']['main']['distroverpkg'] = 'sl-release'
else
default['yum']['main']['distroverpkg'] = "#{node['platform']}-release"
end
Expand Down
1 change: 1 addition & 0 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

supports 'redhat'
supports 'centos'
supports 'scientific'
supports 'amazon'
supports 'fedora'

0 comments on commit 1ae2e69

Please sign in to comment.