File tree Expand file tree Collapse file tree 3 files changed +13
-22
lines changed Expand file tree Collapse file tree 3 files changed +13
-22
lines changed Original file line number Diff line number Diff line change 6
6
"maintainer_email" :
" [email protected] " ,
7
7
"license" : " Apache-2.0" ,
8
8
"platforms" : {
9
+ "centos" : " >= 6.0" ,
10
+ "redhat" : " >= 6.0" ,
11
+ "scientific" : " >= 6.0" ,
9
12
"amazon" : " >= 0.0.0" ,
10
- "centos" : " >= 0.0.0" ,
11
13
"debian" : " >= 0.0.0" ,
12
- "redhat" : " >= 0.0.0" ,
13
- "scientific" : " >= 0.0.0" ,
14
14
"ubuntu" : " >= 0.0.0"
15
15
},
16
16
"dependencies" : {
20
20
"selinux" : " >= 0.0.0" ,
21
21
"sysctl" : " >= 0.0.0" ,
22
22
"ulimit" : " >= 0.0.0"
23
- },
24
- "recommendations" : {
25
-
26
- },
27
- "suggestions" : {
28
-
29
- },
30
- "conflicting" : {
31
-
32
23
},
33
24
"providing" : {
34
25
35
- },
36
- "replacing" : {
37
-
38
26
},
39
27
"attributes" : {
40
28
41
- },
42
- "groupings" : {
43
-
44
29
},
45
30
"recipes" : {
46
31
Original file line number Diff line number Diff line change 13
13
depends cb
14
14
end
15
15
16
+ # RHEL-like distributions
16
17
%w(
17
- amazon
18
18
centos
19
- debian
20
19
redhat
21
20
scientific
21
+ ) . each do |os |
22
+ supports os , '>= 6.0'
23
+ end
24
+
25
+ %w(
26
+ amazon
27
+ debian
22
28
ubuntu
23
29
) . each do |os |
24
30
supports os
Original file line number Diff line number Diff line change 2
2
# Cookbook:: hadoop
3
3
# Recipe:: repo
4
4
#
5
- # Copyright © 2013-2016 Cask Data, Inc.
5
+ # Copyright © 2013-2017 Cask Data, Inc.
6
6
#
7
7
# Licensed under the Apache License, Version 2.0 (the "License");
8
8
# you may not use this file except in compliance with the License.
87
87
case node [ 'platform_family' ]
88
88
when 'rhel' , 'amazon'
89
89
yum_base_url = 'http://public-repo-1.hortonworks.com/HDP'
90
- os = if major_platform_version == 5 || hdp_update_version . to_f >= 2.3
90
+ os = if hdp_update_version . to_f >= 2.3
91
91
"centos#{ major_platform_version } "
92
92
else
93
93
'centos6'
You can’t perform that action at this time.
0 commit comments