Skip to content

Commit fe48580

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. Note: Puppet does not 'oficially' support ZFS on Linux (meaning we do not test against Linux configurations and we don't commit to solve and issues related to ZoL), so remove Linux platforms from metadata.json. However, we happily accept community contributions that do not break any Solaris functionality.
1 parent ecf0158 commit fe48580

File tree

2 files changed

+3
-42
lines changed

2 files changed

+3
-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: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,13 @@
1212
],
1313
"operatingsystem_support": [
1414
{
15-
"operatingsystem": "CentOS",
16-
"operatingsystemrelease": [
17-
"7"
18-
]
19-
},
20-
{
21-
"operatingsystem": "OracleLinux",
22-
"operatingsystemrelease": [
23-
"7"
24-
]
25-
},
26-
{
27-
"operatingsystem": "RedHat",
28-
"operatingsystemrelease": [
29-
"7"
30-
]
31-
},
32-
{
33-
"operatingsystem": "Scientific",
34-
"operatingsystemrelease": [
35-
"7"
36-
]
37-
},
38-
{
39-
"operatingsystem": "Debian",
40-
"operatingsystemrelease": [
41-
"8"
42-
]
43-
},
44-
{
45-
"operatingsystem": "Ubuntu",
46-
"operatingsystemrelease": [
47-
"16.04"
48-
]
49-
},
50-
{
51-
"operatingsystem": "Solaris",
52-
"operatingsystemrelease": [
53-
"11"
54-
]
15+
"operatingsystem": "Solaris"
5516
}
5617
],
5718
"requirements": [
5819
{
5920
"name": "puppet",
60-
"version_requirement": ">= 6.0.0 < 7.0.0"
21+
"version_requirement": ">= 6.0.0 < 8.0.0"
6122
}
6223
],
6324
"pdk-version": "1.14.0",

0 commit comments

Comments
 (0)