Skip to content

Commit bc6f7d9

Browse files
committed
(MODULES-10953) Update metadata.json and pdk version
To avoid having to update this everytime we release a new agent platform, it should be enough to specify the supported OS, without specific versions. It is assumed that for each OS in metadata.json, the versions supported are the same as what the agent itself supports.
1 parent cfcb6b4 commit bc6f7d9

File tree

2 files changed

+12
-42
lines changed

2 files changed

+12
-42
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ end
5151

5252
group :release do
5353
gem "puppet-blacksmith", '~> 3.4', require: false
54-
gem "pdk", platforms: [:ruby]
54+
gem "pdk", '~> 2.0', platforms: [:ruby]
5555
end
5656

5757
puppet_version = ENV['PUPPET_GEM_VERSION']

metadata.json

Lines changed: 11 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,70 +12,40 @@
1212
],
1313
"operatingsystem_support": [
1414
{
15-
"operatingsystem": "CentOS",
16-
"operatingsystemrelease": [
17-
"7"
18-
]
15+
"operatingsystem": "CentOS"
1916
},
2017
{
21-
"operatingsystem": "OracleLinux",
22-
"operatingsystemrelease": [
23-
"7"
24-
]
18+
"operatingsystem": "OracleLinux"
2519
},
2620
{
27-
"operatingsystem": "RedHat",
28-
"operatingsystemrelease": [
29-
"7"
30-
]
21+
"operatingsystem": "RedHat"
3122
},
3223
{
33-
"operatingsystem": "Scientific",
34-
"operatingsystemrelease": [
35-
"7"
36-
]
24+
"operatingsystem": "Scientific"
3725
},
3826
{
39-
"operatingsystem": "Debian",
40-
"operatingsystemrelease": [
41-
"8"
42-
]
27+
"operatingsystem": "Debian"
4328
},
4429
{
45-
"operatingsystem": "Ubuntu",
46-
"operatingsystemrelease": [
47-
"16.04"
48-
]
30+
"operatingsystem": "Ubuntu"
4931
},
5032
{
51-
"operatingsystem": "Fedora",
52-
"operatingsystemrelease": [
53-
"28"
54-
]
33+
"operatingsystem": "Fedora"
5534
},
5635
{
57-
"operatingsystem": "Darwin",
58-
"operatingsystemrelease": [
59-
"16"
60-
]
36+
"operatingsystem": "Darwin"
6137
},
6238
{
63-
"operatingsystem": "SLES",
64-
"operatingsystemrelease": [
65-
"12"
66-
]
39+
"operatingsystem": "SLES"
6740
},
6841
{
69-
"operatingsystem": "Solaris",
70-
"operatingsystemrelease": [
71-
"11"
72-
]
42+
"operatingsystem": "Solaris"
7343
}
7444
],
7545
"requirements": [
7646
{
7747
"name": "puppet",
78-
"version_requirement": ">= 6.0.0 < 7.0.0"
48+
"version_requirement": ">= 6.0.0 < 8.0.0"
7949
}
8050
],
8151
"pdk-version": "1.14.0",

0 commit comments

Comments
 (0)