Commit 7bf354cf authored by Tim Smith's avatar Tim Smith

Simplify platform logic

Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 0f1c884a
......@@ -17,10 +17,7 @@ default['yum']['main']['distroverpkg'] = case node['platform']
"#{node['platform']}-release"
end
# default["yum"]["main"]["releasever"] = nil # /.*/
default['yum']['main']['releasever'] = case node['platform']
when 'amazon'
'latest'
end
default['yum']['main']['releasever'] = 'latest' if platform?('amazon')
default['yum']['main']['alwaysprompt'] = nil # [true, false]
default['yum']['main']['assumeyes'] = nil # [true, false]
default['yum']['main']['bandwidth'] = nil # /^\d+$/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment