|
14 | 14 | if $repo_location != undef { |
15 | 15 | $location = $repo_location |
16 | 16 | $description = 'MongoDB Custom Repository' |
17 | | - } elsif $version == undef or versioncmp($version, '3.0.0') < 0 { |
18 | | - fail('Package repositories for versions older than 3.0 are unsupported') |
| 17 | + } elsif $version == undef or versioncmp($version, '4.4.0') < 0 { |
| 18 | + fail('Package repositories for versions older than 4.4 are unsupported') |
19 | 19 | } else { |
20 | 20 | $mongover = split($version, '[.]') |
21 | 21 | if $use_enterprise_repo { |
|
34 | 34 | if $repo_location { |
35 | 35 | $location = $repo_location |
36 | 36 | $description = 'MongoDB Custom Repository' |
37 | | - } elsif $version == undef or versioncmp($version, '3.2.0') < 0 { |
38 | | - fail('Package repositories for versions older than 3.2 are unsupported') |
| 37 | + } elsif $version == undef or versioncmp($version, '4.4.0') < 0 { |
| 38 | + fail('Package repositories for versions older than 4.4 are unsupported') |
39 | 39 | } else { |
40 | 40 | $mongover = split($version, '[.]') |
41 | 41 | $location = "https://repo.mongodb.org/zypper/suse/\$releasever_major/mongodb-org/${mongover[0]}.${mongover[1]}/\$basearch/" |
|
48 | 48 | 'Debian': { |
49 | 49 | if $repo_location != undef { |
50 | 50 | $location = $repo_location |
51 | | - } elsif $version == undef or versioncmp($version, '3.0.0') < 0 { |
52 | | - fail('Package repositories for versions older than 3.0 are unsupported') |
| 51 | + } elsif $version == undef or versioncmp($version, '4.4.0') < 0 { |
| 52 | + fail('Package repositories for versions older than 4.4 are unsupported') |
53 | 53 | } else { |
54 | 54 | if $use_enterprise_repo == true { |
55 | 55 | $repo_domain = 'repo.mongodb.com' |
|
72 | 72 | default => undef |
73 | 73 | } |
74 | 74 | $key = "${mongover[0]}.${mongover[1]}" ? { |
| 75 | + '6.0' => '39BD841E4BE5FB195A65400E6A26B1AE64C3C388', |
75 | 76 | '5.0' => 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11', |
| 77 | + '4.8' => '1283B7BB8CF331A5BE0E1E100EBB00BA3BC3DCCB', |
| 78 | + '4.6' => '99DC630F00A2F97F27C6A02A253612A09571B484', |
76 | 79 | '4.4' => '20691EEC35216C63CAF66CE1656408E390CFB1F5', |
77 | | - '4.2' => 'E162F504A20CDF15827F718D4B7C549A058F8B6B', |
78 | | - '4.0' => '9DA31620334BD75D9DCB49F368818C72E52529D4', |
79 | | - '3.6' => '2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5', |
80 | | - '3.4' => '0C49F3730359A14518585931BC711F9BA15703C6', |
81 | | - '3.2' => '42F3E95A2C4F08279C4960ADD68FA50FEA312927', |
82 | 80 | default => '492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10' |
83 | 81 | } |
84 | 82 | $key_server = 'hkp://keyserver.ubuntu.com:80' |
|
0 commit comments